Description Usage Arguments Details Value
'Bookmark References' are MS Word's internal version of header I.D.s, for linking to or navigating documents. Pandoc adds Bookmark References to all .docx output to try and be helpful. Unfortunately, Google Docs renders these with big blue ugly ribbons by the side of each header. This function strips them out of a given input file.
1 | remove_docx_bookmarks(input_file)
|
input_file |
The .docx file you'd like the bookmark references stripped from |
MS Word files are zipped XML. The file is unzipped, and a regular expression is used to parse and remove the offending bookmarks from the XML. Then everything is zipped back together again.
TRUE (invisibly) if it worked
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.