react-native/docs
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
..
Accessibility.md Update Accessibility.md 2017-05-23 04:00:36 -07:00
AndroidBuildingFromSource.md Explaining how to package ReactNative for Nexus/Maven deployment. 2017-03-14 16:32:42 -07:00
AndroidUIPerformance.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
Animations.md update gitignore & fix links 2017-05-22 13:03:50 -07:00
BuildingForAppleTV.md Rename UIExplorer in docs 2017-05-08 11:31:21 -07:00
Colors.md Update Colors.md 2017-05-23 03:30:49 -07:00
CommunicationIOS.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Debugging.md Expand Getting Started, Debugging, Running on Device guides. 2017-05-23 16:03:43 -07:00
DirectManipulation.md Flat ReactNative renderer bundle [WIP] 2017-05-26 11:03:06 -07:00
GestureResponderSystem.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
GettingStarted.md Add support for syntax highlighting for languages other than JS 2017-05-30 14:36:06 -07:00
HandlingTextInput.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
HandlingTouches.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
HeadlessJSAndroid.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
HeightAndWidth.md Update examples in docs and address version lag of CRNA 2017-05-16 23:51:28 -07:00
Images.md Added documentation for additional fields of Image 2017-04-19 05:02:12 -07:00
IntegrationWithExistingApps.md Add support for syntax highlighting for languages other than JS 2017-05-30 14:36:06 -07:00
IssueGuidelines.md Product Pains -> Canny 2017-02-17 15:02:23 -08:00
JavaScriptEnvironment.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
LayoutWithFlexbox.md Update examples in docs and address version lag of CRNA 2017-05-16 23:51:28 -07:00
LinkingLibraries.md fix typo 2017-04-13 05:00:53 -07:00
MoreResources.md Update Example Apps Link 2017-05-16 13:16:04 -07:00
MoviesExample.json Fix typo and add comments to the example app 2015-03-27 20:44:20 +00:00
NativeComponentsAndroid.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
NativeComponentsIOS.md Add support for syntax highlighting for languages other than JS 2017-05-30 14:36:06 -07:00
NativeMethodsMixin.md Flat ReactNative renderer bundle [WIP] 2017-05-26 11:03:06 -07:00
NativeModulesAndroid.md Reinstate RCTDeviceEventEmitter section for Android docs 2017-05-23 16:30:36 -07:00
NativeModulesIOS.md Add support for syntax highlighting for languages other than JS 2017-05-30 14:36:06 -07:00
Navigation.md Remove reference to deprecated Navigator.js 2017-04-26 19:30:57 -07:00
Networking.md Update Networking.md 2017-04-28 05:56:58 -07:00
Performance.md Update Performance.md 2017-05-26 05:01:54 -07:00
PixelRatio.md Fix minor typo in PixelRatio.md 2017-01-10 01:28:26 -08:00
PlatformSpecificInformation.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
Props.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
PullRequestGuidelines.md move templates to .github folder 2016-06-13 07:43:28 -07:00
RunningOnDevice.md Move out some common JavaScript code to scripts.js 2017-05-26 18:33:45 -07:00
RunningOnDeviceAndroid.md Consolidate Running on Device (Android|iOS) Guides into one 2016-11-06 21:13:32 -08:00
RunningOnDeviceIOS.md Consolidate Running on Device (Android|iOS) Guides into one 2016-11-06 21:13:32 -08:00
RunningOnSimulatorIOS.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
SignedAPKAndroid.md Corrected a minor error 2017-05-22 07:01:51 -07:00
State.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Style.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Testing.md Rename UIExplorer in docs 2017-05-08 11:31:21 -07:00
Text.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
Timers.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
Troubleshooting.md Cleanup stale port docs 2017-04-27 07:27:26 -07:00
Tutorial.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
UnderstandingCLI.md Merge Android UI Performance into Performance doc, reorder sidebar 2017-03-06 10:10:04 -08:00
Upgrading.md Update Getting Started, Upgrading for CRNA 2017-05-23 10:31:27 -07:00
UsingAListView.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00
UsingAScrollView.md Standardize on using AwesomeProject for AppRegistry calls. 2017-05-30 14:20:42 -07:00