Skip to main content

Conway-Markdown (conwaymd, CMD)

Conway-Markdown is:

  • A replacement-driven markup language inspired by Markdown.
  • A demonstration of the folly of throwing regex at a parsing problem.
  • The result of someone joking that "the filenames would look like Windows executables from the 90s".
  • Implemented in Python 3.{whatever Debian stable is at}.
  • Licensed under "MIT No Attribution" (MIT-0), see LICENSE.

For detailed documentation, see <https://conwaymd.github.io/>.

Installation

Conway-Markdown is published to PyPI as conwaymd:

$ pip3 install conwaymd
  • If simply using as a command line tool, do pipx instead of pip3 to avoid having to set up a virtual environment.
  • If using Windows, do pip instead of pip3.

Usage (command line)

$ cmd [-h] [-v] [-a] [-x] [file.cmd ...]

Convert Conway-Markdown (CMD) to HTML.

positional arguments:
  file.cmd       name of CMD file to be converted (can be abbreviated as
                 `file` or `file.` for increased productivity)

options:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit
  -a, --all      convert all CMD files under the working directory
  -x, --verbose  run in verbose mode (prints every replacement applied)

On Windows:

  • Use the aliases cmd- or conwaymd instead of cmd to avoid summoning Command Prompt.
  • Beware not to run any .cmd files by accident; they might break your computer. God save!

Usage (scripting example)

Code:

from conwaymd.core import cmd_to_html

cmd_content = '''
# Test
==
- This is a *near*-minimal test.
- Here be [__dragons__].
==
[__dragons__]: https://example.com/
'''

html_content = cmd_to_html(cmd_content, cmd_file_name='scripting-test.py')

print(html_content)

Output:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Title</title>
</head>
<body>
<h1>Test</h1>
<ul>
<li>
This is a <em>near</em>-minimal test.
</li>
<li>
Here be <a href="https://example.com/"><b>dragons</b></a>.
</li>
</ul>
</body>
</html>

Features

Metadata

Release files for conwaymd 6.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for conwaymd 6.1.0
File Size Uploaded Provenance Actions
conwaymd-6.1.0.tar.gz 30.9 kB With provenance Details for conwaymd-6.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for conwaymd 6.1.0
File Interpreter ABI Platform Actions
conwaymd-6.1.0-py3-none-any.whl Python 3 none any Details for conwaymd-6.1.0-py3-none-any.whl

Total release size: 65.8 kB

Release files / conwaymd-6.1.0.tar.gz

Download URL conwaymd-6.1.0.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f75cb33bf89b3bbb286b8453f05f990e16fa3350d1feefcfefb5a19e77ae04ba
BLAKE2b-256 checksum
How to use checksums
5452014222510fc56aa89bf13403b01cb31fbcc768204b1e8e06249f5bb7e41b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / conwaymd-6.1.0-py3-none-any.whl

Download URL conwaymd-6.1.0-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42c4c5879e670f2c149919e1dfb9b648b8249f22884fb4b040c4f741acf34000
BLAKE2b-256 checksum
How to use checksums
73dff8f29e79fa4ea0d6d6047bfa2f8e1a76206049fac8684f3b9134c0079d6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Security for conwaymd 6.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for conwaymd-6.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page