Loading...
 
Features / Usability

Features / Usability


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

posts: 55
luciash d' being 🧙 wrote:

Try this:

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

Result:

{{bbox}}


I played around with this a bit. It works for a one-liner. If I break the line it is still a one-liner. If I break the line twice (double-line-break), it does not work anymore. I need something where I can just put my code and have line breaks and indents with spaces preserved and not interpreted anything.

luciash d' being 🧙 wrote:

Or this:

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

Result:
Copy to clipboard
{{bbox}}


Seems like this got fixed. My result in tiki 21 LTS:

Copy to clipboard
§aeb5a97041fb1f1066934b573e35aec4§{bbox}}


So this would be my best solution by now. I would have to do a minor change to my code (not many double curly brackets there) and wait for tiki 24 LTS. That is OK for me as this code thingy is on a private part of my wiki. It is only for myself, nobody else sees it. Thanks.

There are no comments at this time.