Look at moving to prism api plugin for view export page
What feature do you want to see added?
See https://plugins.jenkins.io/prism-api/
It would allow users to pick their own theme and also give us an up to date prism version that we don't need to maintain ourselves
fyi @uhafner 😄
Upstream changes
No response
This would be great! We are way behind 🗡️ We are on 1.16.0 and latest is 1.26.0
@jetersen I'm curious, what's the signification of "🗡️" in this context?
@lemeurherve Thousand Knives or Death by a thousand paper cuts comes to mind.
Feels like the prism-api-plugin has too many deps. And has custom css wihch applies to analysis plugin?
I would hope that it simply provided prism but it grabs four other plugins 🤔
Perhaps we can have a version with just the script loading and nothing else?
These are the only bits we need but seems like prism api comes with batteries included and much more. https://github.com/jenkinsci/prism-api-plugin/blob/main/src/main/resources/io/jenkins/plugins/prism.jelly
script loading and theme selection 😄
okay theme selection maybe.
But why depend on bootstrap and font-awesome for theme selection?
Not sure about this plugin-util api I suspect for theme selection it was not needed.
Not sure what it even uses antisamy-markup-formatter for 🤔
Actually the custom CSS is for markers in the source code that might be useful for other plugins as well.
BS and Font Awesome are used for the details view. All my views use BS5.
You can create additional jelly custom load scripts if required.
antisamy-markup-formatter is used to prevent visualization of source code files that contain unsecured content.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Looking at the install size of bootstrap plugin and font awesome, I guess it is fine.
https://plugins.jenkins.io/bootstrap5-api/ https://plugins.jenkins.io/font-awesome-api/