Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gisce/markdown-i18n
i18n extension for Python Markdown
https://github.com/gisce/markdown-i18n
hacktoberfest i18n markdown mkdocs translation
Last synced: 3 months ago
JSON representation
i18n extension for Python Markdown
- Host: GitHub
- URL: https://github.com/gisce/markdown-i18n
- Owner: gisce
- License: mit
- Created: 2016-08-09T15:16:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-25T08:12:15.000Z (over 3 years ago)
- Last Synced: 2024-10-19T05:44:16.140Z (4 months ago)
- Topics: hacktoberfest, i18n, markdown, mkdocs, translation
- Language: Python
- Homepage:
- Size: 44.9 KB
- Stars: 13
- Watchers: 21
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Markdown i18n
=============.. image:: https://travis-ci.org/gisce/markdown-i18n.svg?branch=master
:target: https://travis-ci.org/gisce/markdown-i18n
.. image:: https://coveralls.io/repos/github/gisce/markdown-i18n/badge.svg
:target: https://coveralls.io/github/gisce/markdown-i18nThis is an extension for `Python Markdown `_
Install
-------.. code-block::
$ pip install markdown-i18n
Configure
---------* i18n_lang: Lang to use on rendering
* i18n_dir: Path to localitzationThe structure of `i18n_dir` must be:
.. code-block::
├── en_US
│ └── LC_MESSAGES
│ ├── messages.mo
│ └── messages.po
└── messages.potThe first time rendering the content it will generate the ``messages.pot`` file