Convert reStructuredText to Confluence markup
This is cloned from https://github.com/netresearch/rst2confluence. See Changelog.
- bullet list
- enumerated list
- image, figure, confluence image galleries
- definition list (with classifiers)
- simple and grid tables
- block quote
- text effect
- code blocks
- field lists
- line blocks (except nested ones)
- meta directives
When using the command line option
confluence code will mark up the first paragraph as excerpt.
Images and figures with class names that begin with
gallery- form a gallery:
.. image:: cat.jpg :class: gallery-1 .. image:: dog.jpg :class: gallery-1 .. figure:: horse.jpg :class: gallery-2 :scale: 50%
This creates two galleries: One with cat and dog, the other one with the horse picture only. All attributes are ignored on gallery images.
Gallery-classed images are converted to
From git checkout:
$ sudo ./setup.py install
Without a git checkout from the Python Package Index:
$ pip install rst2jira
colordiff(for running the tests)
We have some examples how
rst2jira should behave.
Check if it does what it should:
Run a single test: