Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title read from the markdown file. All markdown stored in currentPattern #676

Closed
wants to merge 3 commits into from

Conversation

jdagerot
Copy link
Contributor

Also adds the whole parsed markdown object to the pattern

Title in md-files Front Matter is now working as the documentation claims. The whole parsed md-file is now stored in currentPattern.allMarkdown. All Front Matter keys can be accessed in the patternSection.mustache. Example with the key 'preamble'

{{ allMarkdown.preamble }}

…dds the whole parsed markdown object to the pattern

Title in md-files Front Matter is now working as the documentation claims. The whole parsed md-file is now stored in currentPattern.allMarkdown. All Front Matter keys, can be accessed in the patternSection.mustache with

<h3 class="pl-preamble">{{ allMarkdown.preamble }}</h3>
…slated in the config file with patternLab.config.i18n.viewall
…t honored in the md-file on group or subgroup level
@jdagerot jdagerot closed this Aug 23, 2017
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.

1 participant