Implement localization
This commit is contained in:
parent
5016ced432
commit
506c0203d9
12 changed files with 218 additions and 36 deletions
|
|
@ -1,13 +1,14 @@
|
|||
#!/usr/bin/env utop
|
||||
|
||||
let args = "--css ../../assets/style.css -s --to html5 " ^
|
||||
"--highlight-style zenburn " ^ "--lua-filter filters/title.lua "
|
||||
let args = "--css ../assets/style.css --standalone " ^
|
||||
"--from markdown+yaml_metadata_block " ^ "--to html5 " ^
|
||||
"--highlight-style zenburn " ^ "--template=template.html "
|
||||
|
||||
|
||||
let vert md = begin
|
||||
let filename_split = String.split_on_char '.' md in
|
||||
Sys.command (
|
||||
"pandoc " ^ args ^ " md/" ^ md ^ " -o " ^ List.nth filename_split 0
|
||||
"pandoc " ^ args ^ " md/" ^ md ^ " -o " ^ List.nth filename_split 0 ^ ".html"
|
||||
)
|
||||
end ;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue