Sign in

Install javascript library

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3318
    Zereck

    Hi. I want to know if it is possible to add an external JavaScript library. I have added highlight.js in the header but it doesn’t work. Am I doing something wrong or are the external libraries not working?

    I’d like to buy your latest template for my blog, but I need the code to look better (similar to VSCode).

    #3322
    BobBob
    Support

    It is, have a look at the implementation of the prism library https://getpublii.com/docs/highlight-your-code-syntax-with-prism-js.html

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #3324
    Zereck

    Thank you very much Bob! Sorry for not consulting the documentation first.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Install javascript library’ is closed to new replies.