Using Marked to view commented CSS files
I document my css extensively in comments in my css files using markdown syntax.
I then view the resulting files in Marked and they are much more readable than the source in Sublime Text or BBEdit (my two preferred editors). The css rules are nicely shown as code (in a pre) and the comments containing the markdown text are rendered according to the stylesheet chosen.
However, I would like to be able to hide the */ and /* (or sometimes //) around the comments. This would be easy with a custom stylesheet if the paragraphs containing these strings generated by Marked had a class. As it is, they sort of ruin the show.
Also, it would be nice if I could tell Marked that the "code" is css and that #foo is an id and not a comment... As it is, the line with the id # is styled like a comment.
Is there any way to do these things ?
Thanks for a great app.
EllenH
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac