-
I have a document structure with pure markdown files used to generate both an HTML version with Jekyll and a PDF version with pandoc. My content is organized in folders where each folder represents a category/topic. Is it possible to generate a hierarchical navigation structure without adding frontmatter to the markdown files? I have no problems writing a script to generate what is needed, but I need to keep additional metadata outside of the markdown files themselves. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, that seems to be possible:
---
layout: default
title: Test
parent: ...
---
{% include test.md %} BTW, wouldn't the kramdown LaTeX converter give a closer match between the HTML and the PDFs than |
Beta Was this translation helpful? Give feedback.
Yes, that seems to be possible:
_includes
directorydocs
BTW, wouldn't the kramdown LaTeX converter give a closer match between the HTML and the PDFs than
pandoc
?