[v2] docs
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 13k
- Forks
- 1.4k
- Avg merge
- 15h 36m
- Merged PRs (30d)
- 3
Description
We need to update docs to show how to use Prism v2.
@JaKXz @RunDevelopment What does an example Prism v2 usage look like?
So far this didn't work for me:
<link rel="stylesheet" href="./node_modules/prismjs/dist/themes/prism.css" />
<script type="module" src="./main.js"></script>
<pre><code class="language-js">
import { Prism } from "./node_modules/prismjs/dist/esm/core.js"
const prism = new Prism()
prism.highlightAll()
</code></pre>
// main.js
import { Prism } from "./node_modules/prismjs/dist/esm/core.js"
const prism = new Prism()
prism.highlightAll()
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the HTML example and main.js from the issue as the starting point, then compare them with the linked prism-v2-test repository. Confirm the supported Prism v2 usage and update the relevant documentation; done when a working example is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100