madflow / flow-netbeans-markdown

Markdown file support for the NetBeans IDE
MIT License
279 stars 40 forks source link

Ability to use custom CSS in preview tab is broken in Netbeans 8.0.2 #98

Closed mfreeman-xtivia closed 9 years ago

mfreeman-xtivia commented 9 years ago

This capability (use custom CSS in the preview "tab") seems to be broken and non-functional in Netbeans 8.0.2. I validated this on a fresh copy of Netbeans 8.0.2 with only the Markdown plugin added to the base install.

As an example the CSS below works beautifully when I click on the icon to view in an external browser all of the generated text is RED. When viewed in the editors preview tab it does nothing at all.

screenshot-options

madflow commented 9 years ago

I cannot reproduce this. The internal preview uses a JavaFX component for rendering the HTML. Please make sure you have the JavaFX Preview enabled: Options > Miscellaneous > Markdown > Miscellaneous

You will need the Oracle JRE/JDK on Linux. The Java Version should be greater than 7u45. The Netbeans "About" Dialog should reveal this.

mfreeman-xtivia commented 9 years ago

That was it---was using a non-Oracle JDK. Once I switched to the Oracle JDK everything is golden --thanks for the rapid response.

madflow commented 9 years ago

:+1: