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


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.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textile2rst-0.0.2-py2-none-any.whl (5.1 kB view details)

Uploaded Python 2

File details

Details for the file textile2rst-0.0.2.tar.gz.

File metadata

  • Download URL: textile2rst-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for textile2rst-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e64aa0a2f1bd8efc735e16f845f181880402a6263404fbe2c5f2d1929f2bf6b4
MD5 11b32240d8cbab20adc9530400df81dc
BLAKE2b-256 42733d0f322d0b263f0ceabef13ce145b5bd65f918e3135f051207f6492ef6d5

See more details on using hashes here.

File details

Details for the file textile2rst-0.0.2-py2-none-any.whl.

File metadata

File hashes

Hashes for textile2rst-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 ac67da86c67011552a6b2d813ec2e89d4a51d25a0d4a04bb570fd6d0466ce9e0
MD5 ef852931272fb2d4b2cd4d90184cf296
BLAKE2b-256 adbc5d3f27a5dc6329aab05c1b68f10de188798739338e19304ca2a6da8f6ef8

See more details on using hashes here.

Supported by

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