Google Gadgets‎ > ‎

Syntax Highlight


This is a demonstration page for "Eoghans SyntaxHighlighter Gadget". A code fomatting gadget based on SyntaxHighlighter 2.0.

Params
  • Path to the file
    • An absolute or relative URL to the file you wish to display
TODO
  • Add ability to select different code types (or better still, autodetect).

Rejected approaches

  • highlight.js worked ok (and had great autodetect support), but formatting wasn't as nice.

Č
ċ
ď
SyntaxHighlighter.css
(4k)
Eoghan Conway,
Aug 17, 2009 6:07 AM
ċ
ď
Eoghan Conway,
Aug 17, 2009 6:06 AM
ċ
ď
ed_ggsh.xml
(2k)
Eoghan Conway,
Aug 17, 2009 11:36 AM
ċ
ď
shBrushCss.js
(5k)
Eoghan Conway,
Aug 17, 2009 6:06 AM
ċ
ď
shBrushJScript.js
(1k)
Eoghan Conway,
Aug 17, 2009 6:07 AM
ċ
ď
shBrushXml.js
(1k)
Eoghan Conway,
Aug 17, 2009 6:06 AM
ċ
ď
shCore.js
(12k)
Eoghan Conway,
Aug 17, 2009 6:06 AM

Musings

When a hammer is your only tool, every nail looks like an opportunity