Loading .gitignore +3 −1 Original line number Diff line number Diff line Loading @@ -3,13 +3,14 @@ node_modules public media saved_files official editing # OUTPUT FILES background_highlight.css temp.docx API.css API.html API.docx html_to_docx_output.docx ~$* API/ Loading @@ -17,3 +18,4 @@ editing.zip official.zip package.json package-lock.json public/API.css README.md +1 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,7 @@ or Finally create API.html, reusing pandoc with our custom filters and toc option: > `pandoc --extract-media ./ -f docx -t chunkedhtml -L filter_1.lua -L filter_2.lua --css=styling.css --css=API.css -s temp.docx -o ./API --toc --toc-depth 4 --template=editing.html --split-level=1` > `cp API.css ./public/API.css` ### Explanation of Lua scripts With the above command we run two lua scripts (called filters in Pandoc terminology). These get executed in order during the convsersion. Loading data/API.docx 0 → 100644 +7.51 MiB File added.No diff preview for this file type. View file Loading
.gitignore +3 −1 Original line number Diff line number Diff line Loading @@ -3,13 +3,14 @@ node_modules public media saved_files official editing # OUTPUT FILES background_highlight.css temp.docx API.css API.html API.docx html_to_docx_output.docx ~$* API/ Loading @@ -17,3 +18,4 @@ editing.zip official.zip package.json package-lock.json public/API.css
README.md +1 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,7 @@ or Finally create API.html, reusing pandoc with our custom filters and toc option: > `pandoc --extract-media ./ -f docx -t chunkedhtml -L filter_1.lua -L filter_2.lua --css=styling.css --css=API.css -s temp.docx -o ./API --toc --toc-depth 4 --template=editing.html --split-level=1` > `cp API.css ./public/API.css` ### Explanation of Lua scripts With the above command we run two lua scripts (called filters in Pandoc terminology). These get executed in order during the convsersion. Loading