Skip to content

Conversation

@peteryates
Copy link
Member

Sometimes front matter is included in files but we don't want it to be part of the final document. Markdown fences are intepreted as horizontal rules and the keys and values within are rendered in paragraphs, which looks ugly.

The new strip_front_matter argument, which defaults to true, removes three dashes at the beginning of the document up to a matching three dash closing fence.

Sometimes front matter is included in files but we don't want it to be
part of the final document. Markdown fences are intepreted as horizontal
rules and the keys and values within are rendered in paragraphs, which
looks ugly.

The new strip_front_matter argument, which defaults to true, removes
three dashes at the beginning of the document up to a matching three
dash closing fence.
@peteryates peteryates force-pushed the add-front-matter-stripping-option branch from 034dd00 to f25d9d3 Compare November 20, 2024 14:22
@peteryates peteryates merged commit 8713cd7 into main Nov 20, 2024
3 checks passed
@peteryates peteryates deleted the add-front-matter-stripping-option branch November 20, 2024 15:36
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.

4 participants