pattern-lab / styleguidekit-assets-default

The static assets for the default StyleguideKit for Pattern Lab. Contains styles and mark-up for Pattern Lab's front-end.
http://patternlab.io/
MIT License
35 stars 67 forks source link

Style Tags Inside Pattern Description #31

Closed bradfrost closed 7 years ago

bradfrost commented 8 years ago

The contents of the markdown file are displayed in .sg-pattern-desc, so we'll need to do a better job at styling raw tags within that scope. Things like:

https://daringfireball.net/projects/markdown/

bradfrost commented 7 years ago

This has been addressed in #72. A best practice is to wrap any passage of arbitrary text in a class, so that you can target loose, classless tags properly. The class pl-c-text-passage exists and is in use anywhere the user can output arbitrary markup (most likely via markdown).