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.3.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.3-py2-none-any.whl (5.2 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for textile2rst-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f228a0ff2dc16591af4cfe3bf4904923861150f448dcdb89a5ad54b20338ea77
MD5 e44688fafed5d3b38f4963c347087087
BLAKE2b-256 cb6aeb1aa2e25fd9ee0aca18ba0be905de2586e502e5a746aef52fa5131186cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for textile2rst-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 108dcabbe442c5b23db21e4e0a4abc754681784a5dccdb9cab68f53dc7002d6a
MD5 32ddfe9f02a8877773bbc0f6a1cbe2a8
BLAKE2b-256 ae2f89cefe4682554da66e425d0788ee244387c1813165c44031e7338a527905

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