Skip to content

discussions Search Results · repo:PrismJS/prism language:JavaScript

87 results
 (75 ms)

87 results

inPrismJS/prism (press backspace or delete to remove)

vue : ^3.5.18 , vue-router : ^4.5.1 vite : ^7.1.2 refresh page Why doesn t the Copy to Clipboard feature work when switching between route pages? I need to refresh the entire page to see the Copy to ...

With Prism finally moving towards v2, we finally have an opportunity to revisit the many breaking changes we ve received over the years. Below are some of the changes we ll be implementing, and how. ESM ...

image Prism.js can highlight code and display line numbers: Is it possible to fold the code?

Hello everyone, I m encountering an issue while trying to render some JSX code with div elements, but it doesn t seem to be working as expected. I m using a CDN and working on CodeSandbox. I ve attached ...

When I set an element s innerHtml as lt;code gt; amp; lt;/code gt; and then run the prism highlighting on that element, it is showing as in the webview. It shows correctly as code /code when prism is ...

Hi, There has not been new release since 2022 and there are 65 PR not merged, some of which add new languages support. Do you wait v2 ?

I want to implement Prism into my Javadocs to highlight code examples in them once built, but I cannot find any guides on how I could do that. The only thing I found is to add Stylesheets. Unfortunately ...

Has anyone attempted to add support for apple s config language called Pkl? https://github.com/apple/pkl

I am currently trying to integrate the autoloader plugin in my project using Prism.js. I have downloaded the source code from the [Prism.js download page](https://prismjs.com/download.html#themes=prism-tomorrow ...

Hello everyone, I m using a bundled version of PrismJS 1.29.0 with Antora and have noticed that the color of line numbers when a multi-line text (SQL in this case) is used result in mixed colors. Please ...