Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I use gjs highlighting? #183

Open
NullVoxPopuli opened this issue Dec 20, 2023 · 0 comments
Open

How do I use gjs highlighting? #183

NullVoxPopuli opened this issue Dec 20, 2023 · 0 comments

Comments

@NullVoxPopuli
Copy link

NullVoxPopuli commented Dec 20, 2023

I got an error:



Error occurred:

- While rendering:
  -top-level
    application
      post
        markdown-to-html


Uncaught (in promise) Error: Assertion Failed: Language "gjs" not found. Have you configured Prism correctly?

There was an error running your app in fastboot. More info about the error: 
 Error: Assertion Failed: Language "gjs" not found. Have you configured Prism correctly?
    at assert (/tmp/broccoli-168736dwVHBvJY1q1J/out-531-broccoli_merge_trees/assets/@ember/debug/index.js:145:1)
    at /tmp/broccoli-168736dwVHBvJY1q1J/out-531-broccoli_merge_trees/assets/addon-tree-output/ember-showdown-prism/initializers/showdown-extension.js:86:1
    at String.replace (<anonymous>)
    at /tmp/broccoli-168736dwVHBvJY1q1J/out-531-broccoli_merge_trees/assets/addon-tree-output/ember-showdown-prism/initializers/showdown-extension.js:59:1
    at showdown.Converter.makeHtml (webpack://__ember_auto_import__/./node_modules/.pnpm/showdown@2.1.0/node_modules/showdown/dist/showdown.js?:299:167)

maybe I could opt out of prism? prism is unmaintained.

highlight.js or shiki are maintained

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant