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.

Files for textile2rst, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size textile2rst-0.0.3-py2-none-any.whl (5.2 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size textile2rst-0.0.3.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page