diff options
author | Thomas M Ward <52973923+tmward@users.noreply.github.com> | 2020-07-24 15:45:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 14:45:45 -0500 |
commit | 38d4939eecde348ccbee275810dd55ea9802df91 (patch) | |
tree | 33e7fee7545d8cbb5db925599018cc00930c78f9 /exampleSite/content/_index.markdown | |
parent | 982dfb320e8ac58a78203be76c5b06beae25d4f9 (diff) | |
download | zk-theme-38d4939eecde348ccbee275810dd55ea9802df91.tar.gz zk-theme-38d4939eecde348ccbee275810dd55ea9802df91.zip |
Allow inline html in _index.Rmarkdown (#42)
Starting with hugo 0.60, the default markdown renderer changed from
blackdown to goldmark. By default, goldmark does not render raw HTML so
specifying raw html in _index.Rmarkdown (in this instance to customize
an image's display) created an html file with <!-- raw HTML omitted -->
rather than the correct html to display the image.
You can make goldmark include raw html by switching it to `unsafe` mode
in the `config.toml` which this commit does.
As an FYI, An alternative is to mv `_index.Rmarkdown` to `_index.Rmd`
which will switch the markdown engine from goldmark to pandoc which
still renders raw html.
Diffstat (limited to 'exampleSite/content/_index.markdown')
0 files changed, 0 insertions, 0 deletions