strapyourself.in and flouri.sh
Mephisto UV Syntax Highlighting Plugin
December 3rd, 2007
After I wrote the article on hacking UV into mephisto, I made it an actual plugin. The only trick was inserting a fake codepress.rb file since mephisto requires "codepress" in 2 places.
To get up and running:
- Delete the existing
filtered_column_code_macroplugin. ./script/plugin install http://wush.net/svn/public/plugins/mephisto/uv_code_macro- Copy over UV's xhtml theme CSS files. See using UV as a library.
You'll have to run something likeUv.copy_files "xhtml", "public/stylesheets"from the console - Include one or more of the new stylesheets in your layout.
- Use
<filter:code lang="XXXX" theme="XXXX">tags to highlight your code!
Sorry, comments are closed for this article.