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

Add additional languages to Prism (v5) #1485

Open
2 tasks
alisonjoseph opened this issue Jun 19, 2024 · 0 comments
Open
2 tasks

Add additional languages to Prism (v5) #1485

alisonjoseph opened this issue Jun 19, 2024 · 0 comments

Comments

@alisonjoseph
Copy link
Member

Pulled from: #1439 (comment)

Supported languages https://prismjs.com/#supported-languages

Any additional languages now need to be added manually
only include these base languages by default: https://github.com/FormidableLabs/prism-react-renderer/blob/c914fdea48625ba59c8022174bb3df1ed802ce4d/packages/generate-prism-languages/index.ts#L9-L23

  "jsx",
  "tsx",
  "swift",
  "kotlin",
  "objectivec",
  "js-extras",
  "reason",
  "rust",
  "graphql",
  "yaml",
  "go",
  "cpp",
  "markdown",
  • Determine which languages are missing
  • Add missing languages
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