Add formatting css and reorganize
This commit is contained in:
parent
6bfe583522
commit
5747e5fa90
21 changed files with 308 additions and 199 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue