highlight.js library added to highlight programming code examples in article view

This commit is contained in:
Maryana Rozhankivska
2014-07-22 20:17:15 +03:00
parent 5594d7d054
commit 9f8541ef2a
9 changed files with 448 additions and 0 deletions

View File

@ -4,6 +4,7 @@
{% endblock %}
{% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %}
{% block content %}
{% include '_highlight.twig' %}
<div id="article_toolbar">
<ul class="links">
<li class="topPosF"><a href="#top" title="{% trans "Back to top" %}" class="tool top icon icon-arrow-up-thick"><span>{% trans "Back to top" %}</span></a></li>