switch from showdown to marked

add better yaml support for metadata
This commit is contained in:
Matthew Scragg 2014-09-05 22:41:22 -05:00
parent e4afc0fb0d
commit 036434dd7a
5 changed files with 97 additions and 24 deletions

View file

@ -90,7 +90,11 @@
</div>
{% for bundle in g.assets['js'] %}
{% assets bundle %}
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
{% if bundle == 'editor.js' %}
<script type="text/javascript" data-ace-base="src" charset="utf-8" src="{{ ASSET_URL }}"></script>
{% else %}
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
{% endif %}
{% endassets %}
{% endfor %}
{% block js %}{% endblock %}

View file

@ -51,7 +51,7 @@
});
revs.reverse();
revs = revs.join("..");
location.href = "{{ config.BASE_URL }}/_compare/{{ name }}/" + revs;
location.href = "{{ config.RELATIVE_PATH }}/_compare/{{ name }}/" + revs;
});
});
</script>