Small utility to help moving from Jekyll/Octopress textile to Nikola ReStructured Text
Project description
VERSION |
DOWNLOADS |
TESTS |
COVERAGE |
---|---|---|---|
Small utility to help moving from Jekyll/Octopress Textile file to standard ReStructured Text.
Installation
pip install textile2rst
Usage
python -m textile2rst filename.textile
What does it do?
Replaces <!-- more --> by .. more
Replaces <br/> by ----
Replaces section titles
Replaces Jekyll/Octopress code style with directive highlight into RST format with .. code::
Replaces inline links by RST links, gathering them all at the end.
What doesn’t it do?
If you used underscores to set bold or italic, it won’t translate it and RST parsers will fail.
It doesn’t change the metadata in YAML
Change the internal references with Jekyll directive post_url
Manage any other directive.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for textile2rst-0.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 108dcabbe442c5b23db21e4e0a4abc754681784a5dccdb9cab68f53dc7002d6a |
|
MD5 | 32ddfe9f02a8877773bbc0f6a1cbe2a8 |
|
BLAKE2b-256 | ae2f89cefe4682554da66e425d0788ee244387c1813165c44031e7338a527905 |