Loading...
 
Features / Usability

Features / Usability


How to display the text "{{bbox}}" in a tiki-wiki 21LTS?

posts: 2428 Czech Republic

Try this:

Copy to clipboard
{MARKDOWN()}`~np~{~/np~{bbox}}`{MARKDOWN}

Result:

{{bbox}}


Or this:

Copy to clipboard
{CODE(mediawiki="0")}~np~{~/np~{bbox}}{CODE}

Result:
Copy to clipboard
{{bbox}}

FootlooseTraveller wrote:

Wow, @Bernard Sfez / Tiki Specialist, that actually works!

Next problem: I want to use it inside {CODE(mediawiki="0")}{CODE}. Unfortunately, if I use ~ np ~ inside it, everything inside ~ np ~ is transormed into a hash or something... so the first bracket { is displayed as a hash. If I use {CODE(mediawiki="1")}{CODE}, the ~ np ~ works as expected, but all my line breaks get messed up... :-(

I just want to put some code, preferredly without ANY changes to show up exactly as is in the source. I also want it to stand out a bit compared to normal text. Maybe there is a different/better tag to put my code into?

There are no comments at this time.