DISQUS

DISQUS Hello! Huddled Masses is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Huddled Masses

Joel Bennett's development blog...
Jump to original thread »
Author

PowerShell Highlighting for GeSHi

Started by Jaykul · 9 months ago

A while back I switched to GeSHi for source code highlighting in my posts, and recently I started writing PowerShell scripts in my posts, and calmly sticking it in tags, half expecting it to just work, like all the other languages ... Continue reading »

2 comments

  • Hello,

    Thank you!

    I thought I needed to write one of my own.
    This is great!

    I have been useing for only 1 day now but I have a problem with >.
    When I write It i get the html code for It insted. Do you have the same problem?

    Regards,
    Fredrik Wall
  • Uhm ... geshi messes with stuff it considers unsafe in HTML, so if you try to put in > (a greater-than sign) geshi will turn it into > ... let me explain by writing the same thing in plain HTML and piped into geshi:

    <notextile>
    get-pasting > outfile.txt
    get-pasting &gt; out2.txt

    </notextile>

    and out:

    get-pasting > outfile.txt
    get-content outfile.txt &gt; out2.txt

Add New Comment

Returning? Login