Thiht / markdown-viewer

Firefox add-on to view markdown files
https://addons.mozilla.org/fr/firefox/addon/markdown-viewer/
MIT License
144 stars 36 forks source link

Add editable CSS #40

Open lakonis opened 9 years ago

lakonis commented 9 years ago

That would be great to allow the editing of the css to personalise how the markdown is rendered.

patdavid commented 8 years ago

This would be fantastic, as I'm not aware of another markdown viewer for FF that allows custom CSS for the output.

rivy commented 8 years ago

As an alternative (until a modifiable CSS option is available), the Firefox add-on Greasemonkey can be used to customize the page. For an example script, you can look at this sample script (hosted as a gist on github).

Note: to allow GreaseMonkey to operate on local files, the setting "extensions.greasemonkey.fileIsGreasable" must be set to true. The setting is accessible via Firefox's "about:config" URI.

Turysaz commented 7 years ago

👍

Edit: Another workaround is to add a style sheet via the firefox addon "Stylish". I simply wrote a style sheet that affects all markdown files using the rule:

@-moz-document regexp("^.*\.md") { ... }