Permalink
Browse files

include css in example

  • Loading branch information...
1 parent a60ee88 commit 76f45f00cb9f44a0d34cf1bc87919fb7aeff6750 @defunkt committed Apr 26, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 example.rb
View
@@ -10,11 +10,17 @@ def name
end
Dude.template = <<template
+<html><head>
+<link href="http://pygments.org/media/pygments_style.css" media="screen" rel="stylesheet" type="text/css" />
+</head><body><div class="syntax">
+
{{# highlight_ruby}}
def hello
puts "Hi {{name}}!"
end
{{/ highlight_ruby}}
+
+</div></body></html>
template
puts Dude.render

0 comments on commit 76f45f0

Please sign in to comment.