diff --git a/devsiteParseHTML.py b/devsiteParseHTML.py index b88a979b36b..e91539504d5 100644 --- a/devsiteParseHTML.py +++ b/devsiteParseHTML.py @@ -100,7 +100,9 @@ def parse(requestPath, fileLocation, content, lang='en'): context['footerLinks'] = item['linkboxes'] # Replaces
 tags with prettyprint enabled tags
-  body = re.sub(r'^
(?m)', r'
', body)
+  body = re.sub(r'^
(?m)', r'
', body)
+  # Adds code highlighting support, which requires devsite-code-highlight
+  body = re.sub(r'^
(?m)', r'
', body)
 
   context['content'] = body
 
diff --git a/devsiteParseMD.py b/devsiteParseMD.py
index f2b66450a34..2d97f7b06ca 100644
--- a/devsiteParseMD.py
+++ b/devsiteParseMD.py
@@ -60,7 +60,9 @@ def parse(requestPath, fileLocation, content, lang='en'):
   content = md.convert(content)
 
   # Replaces 
 tags with prettyprint enabled tags
-  content = re.sub(r'^
(?m)', r'
', content)
+  content = re.sub(r'^
(?m)', r'
', content)
+  # Adds code highlighting support, which requires devsite-code-highlight
+  content = re.sub(r'^
(?m)', r'
', content)
 
   # Save the content
   context['content'] = content
diff --git a/gae/includes/page-head.html b/gae/includes/page-head.html
index 037c3742080..24e3f1e538a 100644
--- a/gae/includes/page-head.html
+++ b/gae/includes/page-head.html
@@ -2,7 +2,7 @@
 
 
 
-
+
 
 {{ pageTitle }}
 {% include "includes/head-embedded-styles.html" %}
diff --git a/gae/page-base.html b/gae/page-base.html
index d4ac659d34e..b8365d48050 100644
--- a/gae/page-base.html
+++ b/gae/page-base.html
@@ -7,7 +7,7 @@
                {% if fullWidth %}devsite-full-width-page{% endif %}
                {% if lowerTabs|length < 2 or not lowerTabs %}devsite-header-no-lower-tabs{% endif %}
                {% endspaceless %}"
-        id="top_of_page">
+        data-family="endorsed" id="top_of_page">