react-native/website/core
Hector Ramos 0a6935618c Add support for syntax highlighting for languages other than JS
Summary:
The current website defaults to using JavaScript for any code block, regardless of language tag. This PR adds syntax highlighting support by passing the necessary language prop and by adding any missing languages to Marked.js.

Depends on #14212, #14065
Closes https://github.com/facebook/react-native/pull/14215

Differential Revision: D5149897

Pulled By: hramos

fbshipit-source-id: 95a817af2168d5743c75dd1ac030d399a68fb93c
2017-05-30 14:36:06 -07:00
..
AlgoliaDocSearch.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
BlogPost.js Re-style Blog, Add Newsletter Signup Form 2016-11-02 05:43:43 -07:00
BlogPostDate.js Re-style Blog, Add Newsletter Signup Form 2016-11-02 05:43:43 -07:00
BlogPostExcerpt.js Re-style Blog, Add Newsletter Signup Form 2016-11-02 05:43:43 -07:00
BlogPostFooter.js Re-style Blog, Add Newsletter Signup Form 2016-11-02 05:43:43 -07:00
BlogPostHeader.js Re-style Blog, Add Newsletter Signup Form 2016-11-02 05:43:43 -07:00
DocsSidebar.js Refresh website 2017-03-01 11:00:49 -08:00
EjectBanner.js Include Create React Native App in Getting Started 2017-04-26 07:16:18 -07:00
ExcerptLink.js Add support for video embeds in blog posts. 2016-09-07 13:10:12 -07:00
Footer.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
H2.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
Header.js Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
HeaderLinks.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
HeaderWithGithub.js Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
Hero.js Refresh website 2017-03-01 11:00:49 -08:00
Marked.js Add support for syntax highlighting for languages other than JS 2017-05-30 14:36:06 -07:00
Prism.js Add support for syntax highlighting for languages other than JS 2017-05-30 14:36:06 -07:00
ShowcaseAppIcon.js Replace defaultLink with infoLink in Showcase 2017-03-08 00:52:16 -08:00
Site.js Add support for syntax highlighting for languages other than JS 2017-05-30 14:36:06 -07:00
SnackPlayer.js Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
WebPlayer.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
center.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
slugify.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
unindent.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00