An mdformat plugin for formatting dollarmath.
Project description
mdformat-dollarmath
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$.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdformat_dollarmath-0.0.5.tar.gz.
File metadata
- Download URL: mdformat_dollarmath-0.0.5.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f844e730e70f7cee2334105173b593e92a84440f7bf86e7537e83e0c37070c3
|
|
| MD5 |
4b58c6312aaea93298aaa942bc588f78
|
|
| BLAKE2b-256 |
1d54cdb29149645d7d9cb28a3a58944f2d54952dc1645b274a79d3c65b2e9b66
|
File details
Details for the file mdformat_dollarmath-0.0.5-py3-none-any.whl.
File metadata
- Download URL: mdformat_dollarmath-0.0.5-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dd5f4c07ecceb89b192bfe1d3e6c6049d6b9a463f80617d313690491aea1db3
|
|
| MD5 |
78365360ae26543a6d1c46bebd172950
|
|
| BLAKE2b-256 |
6a3f5019bdff6000987315ee2e4f54851f79b1ed125eb1bb2402af181759d766
|