From 81ac200cc0c67b69c80291d7549b880043a6187f Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Wed, 5 Sep 2018 14:51:50 +0100 Subject: [PATCH] All: Resolves #761: Highlight single tick code segments --- ReactNativeClient/lib/MdToHtml.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ReactNativeClient/lib/MdToHtml.js b/ReactNativeClient/lib/MdToHtml.js index b7dbf006fd..e782cb835f 100644 --- a/ReactNativeClient/lib/MdToHtml.js +++ b/ReactNativeClient/lib/MdToHtml.js @@ -259,7 +259,7 @@ class MdToHtml { } if (!rendererPlugin) { - output.push(''); + output.push(''); } } @@ -597,6 +597,13 @@ class MdToHtml { white-space: pre-wrap; } } + + .inline-code { + border: 1px solid #CBCBCB; + background-color: #eff0f1; + padding-right: .2em; + padding-left: .2em; + } `; const styleHtml = '';