PrismJS / PrismJS/prism

Documentation of Unescaped Markup plugin contains duplicated sections

Open Beginner friendly
#4,038 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13k
Forks
1.4k
Avg merge
15h 36m
Merged PRs (30d)
3

Description

The documentation page for the Unescaped Markup plugin includes repeated content.
Multiple sections (such as How to use, Examples, and FAQ) appear twice in the same page, leading to a very long page with redundant text.

This makes the documentation confusing and significantly harder to read.

Information

  • Prism version: N/A (documentation issue)
  • Plugins: Unescaped Markup
  • Environment: Browser

How to reproduce

  1. Open the Unescaped Markup documentation page.

  2. Scroll down past the first Examples and FAQ sections.

  3. The same sections appear again almost identically.

Expected behavior
Each section should appear once:

  • How to use, Examples, FAQ

Actual behavior
These sections are duplicated:

  • How to use (×2), Examples (×2), FAQ (×2)

Suggestion

Remove the duplicated blocks.
The page becomes much more readable and coherent once the repeated content is removed.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/plugins/unescaped-markup/README.md and compare the repeated How to use, Examples, and FAQ sections. Remove the duplicated blocks while preserving one complete copy of each section, then review the page to confirm each appears once and the document reads coherently.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.