-
Notifications
You must be signed in to change notification settings - Fork 406
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
Documenting Pseudo Patterns #921
Comments
I find this behaviour to be missing from patternlab-php as well. Is it okay to go and recreate the issue on that project? |
@heitoralthmann hey there! Thanks for the offer to recreate the issue. The trajectory of Pattern Lab involves bringing PL Node and PHP together, with PL Node serving as the main shell for most tasks (such as rendering the UI shell), but still kicking it over to the PHP engine to actually stitch together components. Issues like this are a good reason why we're moving down that path, lest we continue duplicating issues. |
Hi @bradfrost! Thank for the kind explanation. I hope I may bring some good news to the table (for you or someone else landing on this topic): Posting this issue on the Drupal Twig/#pattern-lab slack channel I got the following answers from @aleksip:
And @ModulesUnraveled:
I hope it helps! |
Awesome thanks @heitoralthmann! I think we should create an issue on the website to document this properly. |
@bradfrost pattern-lab/website#111 done! Do you have a suggestion as to which page this would fit best? |
Going to close this out and comment on pattern-lab/website#111 |
I am using Pattern Lab Node
2.12.0
onMac
, with Nodev7.9.0
, using aGulp
Edition.Expected Behavior
Creating a Markdown file that accompanies a pseudo pattern (i.e. creating
alert~negative.md
adjacent toalert~negative.json
) should create accompanying documentation (such astitle
and description) for the negative alert pseudo-pattern.Actual Behavior
Creating a file
alert~negative.md
that looks like this:Results in this output in Pattern Lab:
Steps to Reproduce
button~secondary.json
button~secondary.md
title: This is a secondary button
and description (raw markdown below the frontmatter)The text was updated successfully, but these errors were encountered: