-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Labels
Description
I am using Pattern Lab Node 2.12.0 on Mac, with Node v7.9.0, using a Gulp Edition.
Expected Behavior
Creating a Markdown file that accompanies a pseudo pattern (i.e. creating alert~negative.md adjacent to alert~negative.json) should create accompanying documentation (such as title and description) for the negative alert pseudo-pattern.
Actual Behavior
Creating a file alert~negative.md that looks like this:
---
title: This is a negative alert
---
Here is a negative description
Results in this output in Pattern Lab:
Steps to Reproduce
- Create a new pseudo pattern, such as
button~secondary.json - Create a markdown file adjacent to the pseudo pattern, such as
button~secondary.md - In the markdown file, create frontmatter updating the title
title: This is a secondary buttonand description (raw markdown below the frontmatter) - Rebuild Pattern Lab and view pseudo pattern.
