Syntax Luv

Trying out the Mephisto Syntax highlighting macro.

1
2
3
4
5
6
7
module FilteredColumn
  module Filters
    class MacroFilter
      "Filter Me"
    end
  end
end

The code behind this is...


<filter:code lang="ruby">
module FilteredColumn
  module Filters
    class MacroFilter
      "Filter Me"
    end
  end
end
</filter:code>

Possible values for that lang attribute are: c, delphi, html, javascript [or ecma], nitro_xhtml, plaintext [or plain], rhtml, ruby, & xml.

About this Post

Author:
Mars
Published:
2006-10-05 21:35
Updated:
2006-10-06 09:25
Sections:
meta-talk