feat: add option to include pages using the include shortcode (#92)
BREAKING CHANGE: The include shortcode will render files as Markdown instead of HTML by default now. While the Markdown renderer should be able to render HTML as well this might still work as before. BREAKING CHANGE: The include shortcode option markdown was replaces by a generic type option that could be used to specify special include types.
This commit is contained in:
parent
9129b07d2f
commit
1ace505d27
7 changed files with 94 additions and 44 deletions
7
exampleSite/static/_includes/example.html.part
Normal file
7
exampleSite/static/_includes/example.html.part
Normal file
|
@ -0,0 +1,7 @@
|
|||
<p>
|
||||
<i><b>Example HTML include</b></i>
|
||||
</p>
|
||||
|
||||
<h4>This is heading 4</h4>
|
||||
<h5>This is heading 5</h5>
|
||||
<h6>This is heading 6</h6>
|
Loading…
Add table
Add a link
Reference in a new issue