{% set page_name = 'paste' %} {% extends 'layouts/text.html' %} {# Terminal output gets its own preferred theme setting, since many people seem to prefer a dark background for terminal output, but a light background for regular code. #} {% if highlighter.is_terminal_output %} {% set preferredStyleVar = 'preferredStyleTerminal' %} {% set defaultStyle = 'monokai' %} {% else %} {% set preferredStyleVar = 'preferredStyle' %} {% set defaultStyle = 'default' %} {% endif %} {% block highlight_class %}highlight-{{defaultStyle}}{% endblock %} {% block extra_head %} {% endblock %} {% block info %} {{num_lines(text)}} {{'line'|pluralize(num_lines(text))}} of {{highlighter.name}} {% endblock %} {% block highlight_start %} {% endblock %} {% block text %}