Add formatting css and reorganize

This commit is contained in:
flaviut 2014-05-31 21:16:18 -04:00
commit 5747e5fa90
21 changed files with 308 additions and 199 deletions

View file

@ -1,2 +1,12 @@
# All files in the 'lib' directory will be loaded
# before nanoc starts compiling.
class CodeClassSimplfier < Nanoc::Filter
identifier :code_class_simplfier
type :text
def run(content, params={})
return content.dup.gsub!(/"language-\w+?"/, "codehilite")
end
end