I'm splitting this request from #6190, since it seems easier to implement and more straight-forward.
I would like us to introduce # as a new type of placeholder for the format_string() function, which would cause the replaced text to be wrapped in HTML tags that allow it to be shown as a code snippet. It should basically be mimicking the current % placeholder, but use a different HTML tag (</code> instead of <em>).
Recent comments
Ruby Text can be a bit of a hassle to edit... Yes, I can imagine that. No idea, how an editor dialog (or whatever) for easier editing of those should look like - in terms of...
Specific tags to work in CKEditor 5
"why are these tags only relevant for admins?" I'm allowing the editor as well. That being said, Ruby Text can be a bit of a hassle to edit... easy to accidentally delete a tag or part of a...
Specific tags to work in CKEditor 5
Out of curiosity: why are these tags only relevant for admins? Don't "regular" editors on that site also need them under circumstances? Yes, the editors play nicely, no problem to...
Specific tags to work in CKEditor 5