Michael Petrovich
Michael Petrovich
The browser is likely reloading because the source map is taking longer than 2 seconds to create, which causes Stylemark to rebuild the styleguide which subsequently triggers a browser refresh....
Here's what's happening: 1. Your `match: "\\.css$"` configuration _will_ indeed only process `.css` files. This is similar to the default `match` value: `"\\.(css|less|scss|…|js|jsx)$"`. This just means that Stylemark will parse...
So you want to show _only_ the source code and _not_ the rendered example?
Oh, I misunderstood. You want to be able to collapse/expand the rendered examples in the same way as the source code blocks.
That feature does not currently exist and it looks useful, so feel free to add! Implementation note: Make sure to treat that as a multi line block YAML field (using...
After revisiting this, I wonder if this can already be accomplished with external asset references in the examples: ~~~ ```example:path/to/file.css ``` ~~~ Is the intention to include a CSS file...
Ah, so the latter—it should be included for ALL the examples in that component's docs. I totally misunderstood this feature request initially.
Stylemark is relatively framework-agnostic and should work with Angular 1.x and 2.x. Sorry for the delay in documentation, we'll be adding examples and better docs for Angular soon!
@Vout Sorry it's been so long to get the framework-specific steps documented. TL;DR, for AngularJS 1.x use `.angularjs` for JS blocks that you want to assign to the HTML scope....
Thanks for posting @andrixb! Does your Webpack configuration output compiled CSS, or is does it create per-module chunks?