DISQUS

Huddled Masses: PowerShell Highlighting for GeSHi

  • Dalle · 2 years ago
    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
  • Jaykul · 2 years ago
    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