Skip to content

Title is now read from the markdown file, overrides file name. Also a…#678

Merged
bmuenzenmeyer merged 1 commit intopattern-lab:devfrom
jdagerot:Read_title_from_MD
Sep 1, 2017
Merged

Title is now read from the markdown file, overrides file name. Also a…#678
bmuenzenmeyer merged 1 commit intopattern-lab:devfrom
jdagerot:Read_title_from_MD

Conversation

@jdagerot
Copy link
Contributor

…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

{{ allMarkdown.preamble }}

Addresses #

Summary of changes:

…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>
@lostsatellites
Copy link

This works for individual patterns, but not for markdown files that target folders correct?

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.

3 participants