Board index FlightGear The FlightGear project

Make <!-- visible in wiki article?  Topic is solved

Questions about the FlightGear organisation, website, wiki etc.

Make <!-- visible in wiki article?

Postby macnab » Fri Oct 12, 2012 2:58 am

There must be some sort of escape code.
macnab
 
Posts: 886
Joined: Tue Aug 02, 2011 7:20 am
Location: Johannesburg, South Africa
Callsign: ZS-ILH
Version: Git
OS: Win7Pro 64bit SP1

Re: Make <!-- visible in wiki article?  

Postby Johan G » Fri Oct 12, 2012 7:05 am

Yep, there is. replace the "<" with "&lt;" and the ">" with "&gt;".

Many characters have a "named character entity" since early HTML days. Wikipedia has a good list.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5437
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: Make <!-- visible in wiki article?

Postby macnab » Fri Oct 12, 2012 7:16 am

Thanks. I should have known that, I've seen it all over the place.
macnab
 
Posts: 886
Joined: Tue Aug 02, 2011 7:20 am
Location: Johannesburg, South Africa
Callsign: ZS-ILH
Version: Git
OS: Win7Pro 64bit SP1

Re: Make <!-- visible in wiki article?

Postby Gijs » Fri Oct 12, 2012 7:37 am

I think you can also surround it with <nowiki> tags, but I've never tried it with this code...
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9362
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: Make <!-- visible in wiki article?

Postby macnab » Fri Oct 12, 2012 8:15 am

Just tested, <nowiki> works,
macnab
 
Posts: 886
Joined: Tue Aug 02, 2011 7:20 am
Location: Johannesburg, South Africa
Callsign: ZS-ILH
Version: Git
OS: Win7Pro 64bit SP1

Re: Make <!-- visible in wiki article?

Postby Gijs » Fri Oct 12, 2012 8:20 am

Or, I think this is the easiest for your joystick code articles, place <pre> tags around an entire code...
So many choices :-D
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9362
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: Make <!-- visible in wiki article?

Postby macnab » Fri Oct 12, 2012 8:55 am

I'll keep that in mind as well.
macnab
 
Posts: 886
Joined: Tue Aug 02, 2011 7:20 am
Location: Johannesburg, South Africa
Callsign: ZS-ILH
Version: Git
OS: Win7Pro 64bit SP1


Return to The FlightGear project

Who is online

Users browsing this forum: No registered users and 1 guest