Mercurial > agora
view templates/snippet/snippet_options.djhtml @ 190:a4f88ac85837
Changes: Now guest users cannot see revision history and they also cannot see snippets posted by registered users. To see snippets posted by registered users, one has to login.
author | ahsanalishahid <ahsan.ali.shahid@gmail.com> |
---|---|
date | Thu, 20 Jun 2013 17:17:16 +0500 |
parents | c7be7def8b57 |
children |
line wrap: on
line source
Syntax highlighting style: <select id="change-highlighting" data-default="{{ default_style }}"> {% for pygments_style in pygments_styles %} <option data-name="{{ pygments_style }}"{% if pygments_style == default_style %} selected="selected"{% endif %}> {{ pygments_style }} {% if pygments_style == default_style %} (default) {% endif %} </option> {% endfor %} </select> — <a href="#" class="highlight-code-lines">Highlight code</a>