From 419a11af3e5f533ff85216385886d8faa15db163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Wed, 4 Oct 2017 08:56:55 -0700 Subject: [PATCH] Extend Marked.js in order to support React Native's code players (#109) * Extend Marked.js to support SnackPlayer and the WebPlayer, as used in React Native --- lib/core/Head.js | 2 ++ lib/core/Marked.js | 38 ++++++++++++++++++++++++++++++-------- lib/static/css/main.css | 36 +++++++++++++++++++++++++++++++++++- 3 files changed, 67 insertions(+), 9 deletions(-) diff --git a/lib/core/Head.js b/lib/core/Head.js index e0f4d4ce4d..e6680de248 100644 --- a/lib/core/Head.js +++ b/lib/core/Head.js @@ -71,6 +71,8 @@ class Head extends React.Component { {includeGithubButton &&