You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to implement Prism into my Javadocs to highlight code examples in them once built, but I cannot find any guides on how I could do that.
The only thing I found is to add Stylesheets. Unfortunately do code blocks only have a language-xxxx class applied with their content being plain text, so a normal CSS file won't work here and I would need to find a way to include JS files.
I couldn't find any guide or info on how I would add JS files to the Javadoc to use. I doubt adding them as stylesheet is really how it would work.
In case it helps, I use maven and the javadoc maven plugin to create the javadocs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to implement Prism into my Javadocs to highlight code examples in them once built, but I cannot find any guides on how I could do that.
The only thing I found is to add Stylesheets. Unfortunately do code blocks only have a
language-xxxx
class applied with their content being plain text, so a normal CSS file won't work here and I would need to find a way to include JS files.I couldn't find any guide or info on how I would add JS files to the Javadoc to use. I doubt adding them as stylesheet is really how it would work.
In case it helps, I use maven and the javadoc maven plugin to create the javadocs.
Beta Was this translation helpful? Give feedback.
All reactions