WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@sghoweri
Copy link
Contributor

This PR enables pattern templates to be used in Markdown files by pre-rendering the markdown's contents via the Pattern Loader (which should enable Twig and Mustache templates to be handed this way), before rendering the pre-compiled result as Markdown normally.

Or to put it simply: this lets you use the full power of Pattern Lab's templating engine inside the pattern documentation being written.

@dmolsen @bradfrost - LMK your thoughts!!

… our markdown templates via the Pattern Loader (which should enable Twig and Mustache templates to be handed this way), before rendering the pre-compiled result as Markdown normally.
@sghoweri
Copy link
Contributor Author

sghoweri commented Nov 5, 2017

Closing this out - duplicate of #126 (which includes a slightly more recent version of this idea)

@sghoweri sghoweri closed this Nov 5, 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.

2 participants