[markdown] Remove client-side syntax highlighting (#189)

* Remove client side highlighting

* Update CSS rules to render plain code blocks with expected left border

* Add back codeColor background color config

* Ensure all pre code blocks use Highlight.js classes
This commit is contained in:
Héctor Ramos 2017-10-26 12:07:02 -07:00 committed by GitHub
parent f72df94dd3
commit fb294ab845
4 changed files with 25 additions and 17 deletions

View file

@ -128,12 +128,7 @@ class Site extends React.Component {
}}
/>
))}
<script src={`//cdnjs.cloudflare.com/ajax/libs/highlight.js/${highlightVersion}/highlight.min.js`}></script>
<script
dangerouslySetInnerHTML={{
__html: `hljs.initHighlightingOnLoad();`
}}
/>
</body>
</html>
);