Skip to main content

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

Project description

VERSION DOWNLOADS TESTS COVERAGE
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.

Installation

pip install textile2rst

Usage

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


Release history Release notifications

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
textile2rst-0.0.3-py2-none-any.whl (5.2 kB) Copy SHA256 hash SHA256 Wheel 2.7 Dec 5, 2014
textile2rst-0.0.3.tar.gz (3.3 kB) Copy SHA256 hash SHA256 Source None Dec 5, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page