This repository has been archived by the owner on Feb 28, 2022. It is now read-only.
Inject frontmatter properties of a section as DOM properties #355
Labels
enhancement
New feature or request
Once #279 is done, sections will be included by default inside a wrapping element (
div
orsection
, being discussed). Leveraging the frontmatter properties of each section and injecting them as DOM properties would be an easy way for a developer to give some styling freedom but also directive to control the section rendering to content authors.Example:
would lead to a wrapping DOM element:
cc @davidnuescheler
The text was updated successfully, but these errors were encountered: