Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code blocks #380

Merged
merged 1 commit into from
Jun 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ The ``i18n:comment`` attribute can be used to add extra comments for
translators. It is not used by Chameleon for processing, but will be
picked up by tools like `lingua <http://pypi.python.org/pypi/lingua>`_.

An example:
An example::

<h3 i18n:comment="Header for the news section"
i18n:translate="">News</h3>
Expand All @@ -1403,7 +1403,7 @@ The ``i18n:ignore`` attribute can be used to inform translation extraction tools
like `i18ndude <http://pypi.python.org/pypi/i18ndude>`_ to not give a
warning/error on the given tag if there is no ``i18n:translate`` attribute.

An example:
An example::

<h1 i18n:ignore="">News</h3>

Expand All @@ -1415,7 +1415,7 @@ used by translation extraction tools like `i18ndude <http://pypi.python.org/pypi
If ``i18n:ignore`` makes text within a tag to be ignored, ``i18n:ignore-attributes``
marks the given attributes as ignored.

An example:
An example::

<a href="http://python.org"
title="Python!"
Expand Down