From 5445a8b60b4ac8bec27724c7b1b248b20642a9d1 Mon Sep 17 00:00:00 2001 From: Addy Osmani Date: Tue, 12 May 2020 18:16:07 -0700 Subject: [PATCH] [docs] refactor copy-snippets syntax highlighting --- .../src/_includes/components/copy-snippet.njk | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/site/src/_includes/components/copy-snippet.njk b/site/src/_includes/components/copy-snippet.njk index 1504b7a8..ac10dedf 100644 --- a/site/src/_includes/components/copy-snippet.njk +++ b/site/src/_includes/components/copy-snippet.njk @@ -1,19 +1,17 @@ {% extends "layouts/normal-section-wrapper.njk" %} {% block section %}
-
Place this snippet in your head or just before your close body tag:
+
Place this snippet in your head or just before your close body tag:
- {% markdownConvert %} - ```html - - - ``` - {% endmarkdownConvert %} + {% highlight "html" %} + + + {% endhighlight %}