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

React SDK page doesn't have nice code blocks #1876

Open
mooreds opened this issue Jan 22, 2023 · 0 comments
Open

React SDK page doesn't have nice code blocks #1876

mooreds opened this issue Jan 22, 2023 · 0 comments

Comments

@mooreds
Copy link
Contributor

mooreds commented Jan 22, 2023

The react SDK doesn't have syntax highlighted code blocks.

This is because if you use the javascript formatter, the xml tags look bad.

There's no jsx/react formatter in pygments. There is in rouge. (We use pygments for our asciidoc formatter, and rouge for our markdown formatter.)

pygments/pygments#709 <- jsx support PR for pygments

https://github.com/rouge-ruby/rouge/blob/master/docs/Languages.md <- list of supported rouge 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