Skip to content

Extending Prism to new language is not working #1139

@dorifr

Description

@dorifr

Extending Prism to a new language is not working.
I followed the documentation instructions:

  1. I updated prism_syntax_highlighting = true in the config.toml file.
  2. I downloaded prism 1.28 with a new language.
  3. I copied the new prism.js and prism.css to static/js and static/css respectively.
  4. I ran the command hugo server
    and nothing happens. The old prism 1.21 version was not replaced by the new version.

I run macOS on M1 MacBook Air.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions