[
https://issues.apache.org/jira/browse/MSKINS-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827592#comment-17827592
]
Konrad Windszus commented on MSKINS-242:
----------------------------------------
hightlight.js does not come with line number capabilities
(https://highlightjs.readthedocs.io/en/latest/line-numbers.html) but there are
plugins for that (e.g. https://github.com/wcoder/highlightjs-line-numbers.js).
> Replace deprecated prettify JS library
> --------------------------------------
>
> Key: MSKINS-242
> URL: https://issues.apache.org/jira/browse/MSKINS-242
> Project: Maven Skins
> Issue Type: Improvement
> Components: Fluido Skin
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: fluido-2.0.0
>
>
> The JS library used for code highlighting in
> https://github.com/apache/maven-fluido-skin/blob/master/src/main/resources/js/prettify.js
> seems to be based on the legacy library
> https://github.com/googlearchive/code-prettify (unclear which version). As
> that is no longer maintained since quite a while we should switch.
> One alternative is [hightlight.js|https://highlightjs.org/](compare also with
> https://meta.stackexchange.com/questions/353983/goodbye-prettify-hello-highlight-js-swapping-out-our-syntax-highlighter).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)