Display * (asterisk) in textfield and disable italic function


#1

Since the * is used in german writing to highlight other genders, I would like to make it appear in my textfields and not use it as italic tag. How is that possible?


#2

You can use a backslash escape \*.

https://daringfireball.net/projects/markdown/syntax#backslash


#3

Hey, thanks for the quick reply. Thats a good option, but in my case it would not be so handy, because its quite much text and many editors that all have to search an replace in their texts before filling it into the panel.


#4

You could use a pre filter that auto-replaces all asterisks with a backslash escape before markdown is applied (that doesn’t make any changes in your texts, it just does it at runtime).

See https://getkirby.com/docs/developer-guide/kirbytext/filters, section pre & post filters.