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

Use Prism as syntax highlighter #668

Merged
merged 3 commits into from
Nov 15, 2018
Merged

Use Prism as syntax highlighter #668

merged 3 commits into from
Nov 15, 2018

Conversation

charpeni
Copy link
Contributor

@charpeni charpeni commented Nov 6, 2018

Prism is now the default syntax highlighter for every supported languages, others will fallback to hightlight.js.

Add language on code snippets of /docs (changes are only reflected on next version), as auto-detection doesn't seems to work well. Once 0.58 will be released, these changes will be visible by default.

@react-native-bot
Copy link

react-native-bot commented Nov 6, 2018

Oops, something went wrong with this deploy preview.

@charpeni can you look at this?

@facebook facebook deleted a comment from react-native-bot Nov 7, 2018
@facebook facebook deleted a comment from react-native-bot Nov 7, 2018
@facebook facebook deleted a comment from react-native-bot Nov 7, 2018
@facebook facebook deleted a comment from react-native-bot Nov 7, 2018
@facebook facebook deleted a comment from react-native-bot Nov 7, 2018
@react-native-bot
Copy link

Deploy preview for react-native ready!

Built with commit 6f887f2

https://deploy-preview-668--react-native.netlify.com

Changes to docs/ are reflected in the next "master" version.

Thank you for your contributions.

How to ContributeDocumentation Sources

@hramos hramos merged commit 0d36c27 into facebook:master Nov 15, 2018
@charpeni charpeni deleted the prismjs branch November 16, 2018 16:26
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

Successfully merging this pull request may close these issues.

3 participants