Markdown to RST Converter for Python Documentation
Convert Markdown to reStructuredText for Sphinx, ReadTheDocs, Python docs. Preserve formatting, code blocks, links. Perfect for migrating documentation.
Note: First conversion initializes Pandoc WebAssembly (~55MB). Subsequent conversions are instant.
Drop Markdown file here or click to browse
Accepts .md, .markdown, .txt filesMarkdown to RST Conversion Guide
| Markdown | reStructuredText | Notes |
|---|---|---|
# Heading | Heading | H1 title with overline/underline |
## Subheading | Subheading | H2 subtitle with underline |
**bold** | **bold** | Same syntax in both |
*italic* | *italic* | Same syntax in both |
`code` | ``code`` | RST uses double backticks |
```python | .. code-block:: python | RST directive with indentation |
[link](url) | `link <url>`_ | RST inline link format |
 | .. image:: img.png | RST image directive |
- Item | * Item | RST uses asterisks for bullets |
1. Item | 1. Item | Numbered lists similar |
Python Documentation Workflow
After converting to RST, integrate with Sphinx:
- Install Sphinx:
pip install sphinx - Initialize project:
sphinx-quickstart docs - Add RST files to
docs/source/directory - Update index.rst to include your converted files in the TOC tree
- Build documentation:
make htmlin docs directory - Deploy to ReadTheDocs: Connect your Git repository for automatic builds
Copied to clipboard