Skip to main content

Small utility to help moving from Jekyll/Octopress textile to Nikola ReStructured Text

Project description





Latest PyPI version

Number of PyPI downloads

Travis results

Coveralls results

Small utility to help moving from Jekyll/Octopress Textile file to standard ReStructured Text.


pip install textile2rst


python -m textile2rst filename.textile

What does it do?

  1. Replaces <!-- more --> by .. more

  2. Replaces <br/> by ----

  3. Replaces section titles

  4. Replaces Jekyll/Octopress code style with directive highlight into RST format with .. code::

  5. Replaces inline links by RST links, gathering them all at the end.

What doesn’t it do?

  1. If you used underscores to set bold or italic, it won’t translate it and RST parsers will fail.

  2. It doesn’t change the metadata in YAML

  3. Change the internal references with Jekyll directive post_url

  4. Manage any other directive.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textile2rst-0.0.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

textile2rst-0.0.3-py2-none-any.whl (5.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page