cloudfour / drizzle

A streamlined tool for developing, documenting and presenting UI pattern libraries.
https://cloudfour.com/thinks/introducing-drizzle/
MIT License
666 stars 32 forks source link

Frontmatter field for adding classes to preview #24

Closed tylersticka closed 8 years ago

tylersticka commented 8 years ago

Sometimes we may want to add a class like u-spaceChildren or u-rhythm to the example output w/o adding additional markup to the source preview. Other times, it's better to keep things simple. It would be nice if we could specify classes via pattern frontmatter and have them appended to the pattern container.

erikjung commented 8 years ago

A good idea 👍