{% load bookwyrm_tags %} {% load utilities %} {% load i18n %} {% with 0|uuid as uuid %} {% if full %} {% with full|to_markdown|safe as full %} {% with full|to_markdown|safe|truncatewords_html:150 as trimmed %} {% if not no_trim and trimmed != full %}
{{ trimmed }}
{% trans "Show more" as button_text %} {% include 'snippets/toggle/open_button.html' with text=button_text controls_text="full" controls_uid=uuid class="is-small" %}
{% else %}
{{ full }}
{% endif %} {% endwith %} {% endwith %} {% endif %} {% endwith %}