I’m trying to learn how to implement custom marks for the writer
-field using the docs: Writer marks/nodes | Kirby CMS and peaking at the source linked in the doc. I feel a bit silly asking this, but I couldn’t get an answer from the docs for this:
The plugin example contains these lines of code:
get name() {
return "highlight"
}
How and where is the name() used?
I’m assuming its the string I use in blueprints to add the mark to the field—I haven’t tried yet. Am I looking in the wrong places, or is there simply no info on the use of plugin.name()
in the docs?