commit | 6a8f3a278159f387dc0f1f95e122f3fc29f95577 | [log] [tgz] |
---|---|---|
author | Yu-Ping Wu <yupingso@chromium.org> | Wed Nov 24 00:45:03 2021 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 24 01:01:13 2021 |
tree | c5debe8ea3a97252694022599cd15eb1f0d51887 | |
parent | 2bb7b23b6398f9e79bc2fa8c6bc64a3cf1613ebf [diff] |
third_party/Python-Markdown: Update to 3.3.4 Update Python-Markdown to 3.3.4. Version 3.3.5+ requires importlib-metadata>=4.4, which requires Python 3.7+ according to Gentoo's ebuild file. However, the current Python version in chromium chroot is 3.6, so that's infeasible. Update README.chromium. BUG=chromium:1224332 TEST=python3 md_browser.py -d /mnt/host/source/docs/ Change-Id: Ib25d6db3ec01ddda977396a08cd5c0ff5a1f154b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3296244 Reviewed-by: Dirk Pranke <dpranke@google.com> Commit-Queue: Yu-Ping Wu <yupingso@chromium.org> Cr-Commit-Position: refs/heads/main@{#944762} NOKEYCHECK=True GitOrigin-RevId: c5a7b8d781e5dfb13a6871364540bb2e6e71b062
This is a Python implementation of John Gruber's Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues. See Features for information on what exactly is supported and what is not. Additional features are supported by the Available Extensions.
pip install markdown
import markdown html = markdown.markdown(your_text_string)
For more advanced installation and usage documentation, see the docs/
directory of the distribution or the project website at https://Python-Markdown.github.io/.
See the change log at https://Python-Markdown.github.io/change_log.
You may report bugs, ask for help, and discuss various other issues on the bug tracker.
Everyone interacting in the Python-Markdown project's codebases, issue trackers, and mailing lists is expected to follow the Code of Conduct.