Help:Syntax Highlighting
From UnrealAdminWiki
This wiki supports syntax highlighting, so when pasting things like shell scripts you can highlight their syntax to make it more pretty.
The following languages are installed:
- DOS
- Bash
- HTML
- INI
- Perl
- PHP
- Python
- XML
[edit]
Usage
To use it simply but the code between language tags:
<bash> #!/bin/bash for I in `ls` do echo $I; done </bash>
This will create:
#!/bin/bash for I in `ls` do echo $I; done
Or for ini files:
<ini> [Core.System] PurgeCacheDays=30 SavePath=..\Save CachePath=../Cache CacheExt=.uxx CacheRecordPath=../System/*.ucl MusicPath=../UT2-Code/Music SpeechPath=../Speech </ini>
This will create:
[Core.System] PurgeCacheDays=30 SavePath=..\Save CachePath=../Cache CacheExt=.uxx CacheRecordPath=../System/*.ucl MusicPath=../UT2-Code/Music SpeechPath=../Speech
</ini>
