asciidoctor / brackets-asciidoc-preview

Live Preview of AsciiDoc for Adobe Brackets
MIT License
50 stars 16 forks source link

Enhancement : Ability to use a custom theme #34

Closed JBR69 closed 8 years ago

JBR69 commented 8 years ago

Hi,

It would be interesting to use its own theme in the previewer (and that it is not removed during an update). Currently, I added my CSS in the themesdirectory and I modified the file templates/settings.html to see it in the listbox ; but in the next update, I had to do the same thing :-(

Jérôme

nerk commented 8 years ago

Hmm, maybe a separate directory which is being scanned?

JBR69 commented 8 years ago

or why don't use the attributes :stylesdir: and :stylesheet: to get the CSS of the document ?

mojavelinux commented 8 years ago

The stylesheet attribute is intended for standalone documents (and has to worry about a lot more than just the inner content of the page). Having said that, it would be interesting to honor an embeddable-stylesheet (or similar) attribute.

nerk commented 8 years ago

Custom themes can now be installed (see updated README).