Skip to main content

mdformat-dollarmath

Build Status codecov.io PyPI version

An mdformat plugin for dollarmath support for gfm like markdown.

This converts inline double dollar math to block double dollar to dollarmath blocks.

To enhance support for math renderers, converts align environment to aligned environment upon specifying an environment variable.

Examples

Double Inline to block math

Given $$x^2 + y^2 = 9$$ What is the radius of the circle?
Given

$$
x^2 + y^2 = 9
$$

What is the radius of the circle?

align to aligned

Converts align and align* to aligned upon seting the environment variable MDFORMAT_DOLLARMATH_USE_ALIGNED=1.

Consider the following equations
$$
\begin{align}
3x+4y &= 5 \\
5x-3y &= 8
\end{align}
$$
Find $x$ and $y$.
Consider the following equations

$$
\begin{aligned}
3x+4y &= 5 \\
5x-3y &= 8
\end{aligned}
$$

Find $x$ and $y$.

Metadata

Release files for mdformat_dollarmath 0.0.5

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

Source distribution (sdist)

Source distribution for mdformat_dollarmath 0.0.5
File Size Uploaded
mdformat_dollarmath-0.0.5.tar.gz 5.8 kB Details

Built distribution (wheel)

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

Total release size: 10.6 kB

Release files / mdformat_dollarmath-0.0.5.tar.gz

Download URL mdformat_dollarmath-0.0.5.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1f844e730e70f7cee2334105173b593e92a84440f7bf86e7537e83e0c37070c3
BLAKE2b-256 checksum
How to use checksums
1d54cdb29149645d7d9cb28a3a58944f2d54952dc1645b274a79d3c65b2e9b66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / mdformat_dollarmath-0.0.5-py3-none-any.whl

Download URL mdformat_dollarmath-0.0.5-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dd5f4c07ecceb89b192bfe1d3e6c6049d6b9a463f80617d313690491aea1db3
BLAKE2b-256 checksum
How to use checksums
6a3f5019bdff6000987315ee2e4f54851f79b1ed125eb1bb2402af181759d766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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