| 1 |
[Python-Markdown][] |
| 2 |
=================== |
| 3 |
|
| 4 |
[![Build Status][build-button]][build] |
| 5 |
[![Coverage Status][codecov-button]][codecov] |
| 6 |
[![Latest Version][mdversion-button]][md-pypi] |
| 7 |
[![Python Versions][pyversion-button]][md-pypi] |
| 8 |
[![BSD License][bsdlicense-button]][bsdlicense] |
| 9 |
[![Code of Conduct][codeofconduct-button]][Code of Conduct] |
| 10 |
|
| 11 |
[build-button]: https://github.com/Python-Markdown/markdown/actions/workflows/tox.yml/badge.svg |
| 12 |
[build]: https://github.com/Python-Markdown/markdown/actions/workflows/tox.yml |
| 13 |
[codecov-button]: https://codecov.io/gh/Python-Markdown/markdown/branch/master/graph/badge.svg |
| 14 |
[codecov]: https://codecov.io/gh/Python-Markdown/markdown |
| 15 |
[mdversion-button]: https://img.shields.io/pypi/v/Markdown.svg |
| 16 |
[md-pypi]: https://pypi.org/project/Markdown/ |
| 17 |
[pyversion-button]: https://img.shields.io/pypi/pyversions/Markdown.svg |
| 18 |
[bsdlicense-button]: https://img.shields.io/badge/license-BSD-yellow.svg |
| 19 |
[bsdlicense]: https://opensource.org/licenses/BSD-3-Clause |
| 20 |
[codeofconduct-button]: https://img.shields.io/badge/code%20of%20conduct-contributor%20covenant-green.svg?style=flat-square |
| 21 |
[Code of Conduct]: https://github.com/Python-Markdown/markdown/blob/master/CODE_OF_CONDUCT.md |
| 22 |
|
| 23 |
This is a Python implementation of John Gruber's [Markdown][]. |
| 24 |
It is almost completely compliant with the reference implementation, |
| 25 |
though there are a few known issues. See [Features][] for information |
| 26 |
on what exactly is supported and what is not. Additional features are |
| 27 |
supported by the [Available Extensions][]. |
| 28 |
|
| 29 |
[Python-Markdown]: https://Python-Markdown.github.io/ |
| 30 |
[Markdown]: https://daringfireball.net/projects/markdown/ |
| 31 |
[Features]: https://Python-Markdown.github.io#Features |
| 32 |
[Available Extensions]: https://Python-Markdown.github.io/extensions |
| 33 |
|
| 34 |
Documentation |
| 35 |
------------- |
| 36 |
|
| 37 |
```bash |
| 38 |
pip install markdown |
| 39 |
``` |
| 40 |
```python |
| 41 |
import markdown |
| 42 |
html = markdown.markdown(your_text_string) |
| 43 |
``` |
| 44 |
|
| 45 |
For more advanced [installation] and [usage] documentation, see the `docs/` directory |
| 46 |
of the distribution or the project website at <https://Python-Markdown.github.io/>. |
| 47 |
|
| 48 |
[installation]: https://python-markdown.github.io/install/ |
| 49 |
[usage]: https://python-markdown.github.io/reference/ |
| 50 |
|
| 51 |
See the change log at <https://python-markdown.github.io/changelog/>. |
| 52 |
|
| 53 |
Support |
| 54 |
------- |
| 55 |
|
| 56 |
You may report bugs, ask for help, and discuss various other issues on the [bug tracker][]. |
| 57 |
|
| 58 |
[bug tracker]: https://github.com/Python-Markdown/markdown/issues |
| 59 |
|
| 60 |
Code of Conduct |
| 61 |
--------------- |
| 62 |
|
| 63 |
Everyone interacting in the Python-Markdown project's code bases, issue trackers, |
| 64 |
and mailing lists is expected to follow the [Code of Conduct]. |