Note that users can use only one syntax element in the wiring, so you will need to check everything. We are looking for "h1". obviously only works if the user uses this particular element.
It's pretty easy with things like headers, but keep in mind that *this* markup formats are like <em>this</em> , and Textile converts that value to <strong>this</strong> . Thus, you will have ambiguous syntax constructs that will bring different results in each language.
I would suggest going with a user choice. Try to find out which syntax your users (or you) usually prefer, check the box "use x instead of y" for those who want a different choice.
source share