Uploaded image for project: 'Maven Skins'
  1. Maven Skins
  2. MSKINS-242

Replace deprecated prettify JS library

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Fluido Skin
    • None

    Description

      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(compare also with https://meta.stackexchange.com/questions/353983/goodbye-prettify-hello-highlight-js-swapping-out-our-syntax-highlighter).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: