{% extends "_layouts/base.html" %} {% load static %} {% load i18n %} {% load tz %} {% load humanize %} {% block head %} {% endblock head %} {% block content %}

{{ post.title }}

{% with authorprofile=post.author.userprofile_set.first %} {{ post.author.first_name }}'s Avatar {% endwith %} {{ post.author.first_name }} {{ post.author.last_name }} {% translate "posted in" %} {{ post.category.name }} {% translate "on" %} {% localtime on %}{{ post.date|date:'DATE_FORMAT' }}{% endlocaltime %}
{{ post.first_paragraph|safe }}
{{ post.title }}
{{ post.processed_body|safe }}

{% translate "Comments" %}

{% translate "Markup Guide for Comments" %}

{% translate "This website uses a custom markup syntax powered by TinyMiku, our intelligent comment editor. As you type, the editor will automatically suggest available formatting options to help you create rich, expressive comments." %}

{% translate "Text Formatting" %}

  • **bold text**{% translate "bold text" %}
  • __italic text__{% translate "italic text" %}
  • ~~strikethrough~~{% translate "strikethrough" %}

{% translate "Mathematical Expressions" %}

{% translate "Support for LaTeX mathematical notation:" %}

  • $E = mc^2$ → {% translate "Inline math expressions" %}
  • $$\int_0^1 x^2 dx$$ → {% translate "Block math expressions" %}

{% translate "Code Snippets" %}

{% translate "Add syntax-highlighted code by wrapping it in triple backticks with a language identifier:" %}

```lang-python
def hello_world():
    print("Hello, world!")
```

{% translate "Renders as:" %}

def hello_world():
    print("Hello, world!")

{% blocktranslate %}All programming languages are supported. Use the format: lang-[language]. Examples include python, javascript, java, cpp, go, rust and many others.{% endblocktranslate %}

{% translate "Links & URLs" %}

{% translate "URLs are automatically converted to clickable links. Just paste any valid web address and it will become interactive." %}

{% for comment in post.comments.all %} {% if not comment.parent %} {% include "weblog/_partials/post_comments.html" with comment=comment %} {% endif %} {% endfor %} {% if post.comments.all|length == 0 %}

{% translate "No comments yet." %}

{% endif %}

{% translate "Leave a Comment" %}

{% if user.is_authenticated %}
{% csrf_token %}
{% else %}

{% translate "Please log in to comment." %}

{% endif %}
{% endblock content %} {% block scripts %} {% endblock scripts %}