Syntax highlighting using Mediawiki formatting: Difference between revisions

Content added Content deleted
(julia example)
Line 373: Line 373:


''#= Keywords in Julia. Note that though two word keywords are listed, they ''
''#= Keywords in Julia. Note that though two word keywords are listed, they ''
'' only work if the two words are separated by a single space character. ''
'' only work for bold text highlight if the two words are separated by a single space character. ''
'' #= Handles nested comments such as this. =#''
'' #= Handles nested comments such as this. =#''
''=#''
''=#''
Line 503: Line 503:
println(partialhighlight(read("onedrive/documents/julia programs/test1.jl", String)), "\n")
println(partialhighlight(read("onedrive/documents/julia programs/test1.jl", String)), "\n")

=={{header|Phix}}==
=={{header|Phix}}==
Note the utility I use for this on a day-to-day basis (pwa/p2js.exw/<Ctrl M>) must be easily over 50,000 lines of code by now...<br>
Note the utility I use for this on a day-to-day basis (pwa/p2js.exw/<Ctrl M>) must be easily over 50,000 lines of code by now...<br>