https://github.com/andrewpetrochenkov/rst2html.py
reStructuredText to html
https://github.com/andrewpetrochenkov/rst2html.py
Last synced: 6 months ago
JSON representation
reStructuredText to html
- Host: GitHub
- URL: https://github.com/andrewpetrochenkov/rst2html.py
- Owner: andrewpetrochenkov
- License: unlicense
- Created: 2020-07-15T17:41:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T21:23:51.000Z (about 5 years ago)
- Last Synced: 2025-07-05T19:36:33.158Z (6 months ago)
- Language: HTML
- Size: 7.81 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://pypi.org/project/rst2html/)
[](https://unlicense.org/)
[](https://github.com/andrewp-as-is/rst2html.py/actions)
### Installation
```bash
$ [sudo] pip install rst2html
```
#### Examples
```python
from rst2html import rst2html
html, warning = rst2html('reStructuredText string')
```
`docutils` `report_level`
```python
html, warning = rst2html('reStructuredText string',report_level=5)
```