Skip to content

Conversation

@darkestfloyd
Copy link

Basic html document support for memor.

At this time, the header and footer HTML code are generated on the fly and passed to html_document using the includes argument (wrapper function for --include-in-header, --include-after-body arguments of pandoc). This is done to workaround the fact that rmarkdown disables bootstrap themes, by default, for custom templates. I have also added profile support, which needs to be tested.

DarkestFloyd added 3 commits August 7, 2018 09:33
- Adding a custom template is almost not possible if we want to keep
  the bootstrap themes. Look at `template` under `?rmarkdown::html_document`
  For this reason, the header and footer HTML is generated on the fly and
  saved in a temp file. These files are then passed to `pandoc` in it's
  `include-in-header` and `include-after-body` argument.
  Also see pandoc.org/MANUAL.html#general-writer-options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant