mrkd
Write man pages using Markdown, and convert them to Roff or HTML.
Installation
$ pip install mrkd
Usage
$ mrkd my-file.1.md my-file.1
Syntax is mrkd [options...] input-file output-file. The name and section number will
automatically be derived from the input file, though you can override them using
-name my-name and -section my-section, respectively.
Change the format to HTML using -format html:
$ mrkd my-file.1.md -format html my-file.1.html
You can override the HTML template (see template.html for an example) using -template.
In order to setup HTML links, you can set up an index file like so:
[Index]
my-page(1)=my-page.1.html
Then, when you do the following in your Markdown files:
something something (see my-page(1))
mrkd will automatically pick up the link and connect it via the index file. Pass it via
the -index argument:
$ mrkd -f html -index index.ini my-file.1.md my-file.1.html
See the test directory for an example.
Metadata
Release files for mrkd 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mrkd-0.2.0.tar.gz | 6.0 kB | Without provenance | Details for mrkd-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mrkd-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for mrkd-0.2.0-py3-none-any.whl |
Total release size: 14.7 kB
Release files / mrkd-0.2.0.tar.gz
| Download URL | mrkd-0.2.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
456f8c1be99da268554b29c6b5383532e58119def5a65d85270bc6a0ecc26aaf
|
|
BLAKE2b-256 checksum How to use checksums |
3a5b8cacb9e6f5589c5465fb65f79af76122bc6d8970cd3a15c498ca6bc45a93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.4
|
Release files / mrkd-0.2.0-py3-none-any.whl
| Download URL | mrkd-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cb47bb9eb8933a34ea2f2110529f33a07abcf1da43b7e77328538b7ee6164a0
|
|
BLAKE2b-256 checksum How to use checksums |
bc9c981764250c3b693f0cf936e96d405b107b15ac57fcdc3476b39b5c298e4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.4
|
Security for mrkd 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.