FormidableLabs / prism-react-renderer

🖌️ Renders highlighted Prism output to React (+ theming & vendored Prism)
MIT License
1.88k stars 153 forks source link

208 add json to the default included languages #247

Closed acharyakavita closed 3 months ago

acharyakavita commented 3 months ago

Description

Add JSON as a default supported language in Prism React Renderer.

Fixes # (issue)

Type of Change

How Has This Been Tested?

Checklist: (Feel free to delete this section upon completion)

To test on local :

  1. clone the repo and checkout to this branch 208-add-json-to-the-default-included-languages
  2. pnpm install
  3. pnpm build
  4. pnpm start:demo localhost has a new option "JSON" image
changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: c5f2b5d685925760cd3e3854fc05ae69e9db9c8d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------------- | ----- | | prism-react-renderer | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR