Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

include css in example

  • Loading branch information...
commit 76f45f00cb9f44a0d34cf1bc87919fb7aeff6750 1 parent a60ee88
@defunkt authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 example.rb
View
6 example.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.