css-markdown
v0.2.0
Published
Parse markdown comments in your css to html
Downloads
8
Readme
css-markdown 
Extract markdown comments in your css.
Usage
Mark up your css comments with markdown, specifying its type with a /*md
, /*markdown
, or /*doc
comment prefix:
/*md
# Some Floats
These float elements left or right!
```html
<div class="float--left">Floated left</div>
<div class="float--right">Floated right</div>
\```
*/
.float--left { float: left; }
.float--right { float: right; }
Then run the css-markdown
command:
css-markdown floats.css > floats.md
floats.md
will now contain:
# Some Floats
These float elements left or right!
```html
<div class="float--left">Floated left</div>
<div class="float--right">Floated right</div>