Port details on branch 2022Q2 |
- py-marko Markdown parser with high extensibility
- 2.0.3 textproc =0 2.0.3Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2021-09-27 19:51:29
- Last Update: 2024-03-09 14:06:16
- Commit Hash: 9f930a5
- Also Listed In: python
- License: MIT
- WWW:
- https://marko-py.readthedocs.io/en/latest/
- https://github.com/frostming/marko
- Description:
- Marko is a markdown parser written in pure Python that complies with
CommonMark's spec v0.30. It is designed to be highly extensible.
Among all implementations of Python's markdown parser, it is a common issue that
user can't easily extend it to add his own features. Furthermore,
Python-Markdown and mistune don't comply with CommonMark's spec. It is a good
reason for me to develop a new markdown parser.
Respecting that Marko complies with CommonMark's spec at the same time, which is
a super complicated spec, Marko's performance will be affected. However, using a
parser which doesn't comply with the CommonMark spec may give you unexpected
rendered results from time to time. A benchmark result shows that Marko is 3
times slower than Python-Markdown, but a bit faster than Commonmark-py, much
slower than mistune. If performance is a bigger concern to you than spec
compliance, you'd better choose another parser.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}marko>0:textproc/py-marko@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-marko/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-marko
- pkg install py39-marko
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-marko listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-marko
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1709390728
SHA256 (marko-2.0.3.tar.gz) = 3b323dcd7dd48181871718ac09b3825bc8f74493cec378f2bacaaceec47577d4
SIZE (marko-2.0.3.tar.gz) = 143571
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-pdm-backend>=0 : devel/py-pdm-backend@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-frictionless
- devel/py-livemark
Configuration Options:
- No options to configure
- Options name:
- textproc_py-marko
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|