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.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting