This is useful for including more complex markdown in the two-column layout.
- for example
- bulleted lists
- are not handled well in frontmatter!
Or tables!
Syntax | Description | Test Text |
---|---|---|
Header | Title | Here's this |
Paragraph | Text | And more |
![Illustration of an arrow pointing to the right over a navy blue field]({{ site.baseurl }}/img/photos/get-involved/arrow.webp) This only works in separate files - not frontmatter!
Be sure that the file you are including is within the folder of the page it is being diplayed upon
For example, this component section is displayed on /pages/components.md
is written in /pages/components/two-col-markdown-right.md
.
This works because this component utilizes include_relative
, and as specified in the docs, "you cannot use the ../
syntax to specify an include location that refers to a higher-level directory."
Note: Unfortunately, code blocks are not handled properly using this technique. See faqs.md
or components.md
for examples on usage.