Python-Markdown Environments
Replicating amsthm features and syntax in Markdown so you can publish mathematical papers in HTML—because what mathematician hasn’t tried to publish in the very reputable journal called Their Janky Flask Personal Site That No One Will Ever See?
This Python-Markdown extension uses LaTeX-like syntax
\begin{...}
...
\end{...}
to create environments such as captioned figures, general-purpose <div>s, dropdowns, and user-defined LaTeX-style theorems that can be styled with attached HTML classes.
Installation
pip install markdown-environments
Available Environments
\begin{captioned_figure}: figures with captions\begin{cited_blockquote}: blockquotes with quote attributionUser-defined environments wrapped in general-purpose
<div>s to style to your heart’s contentUser-defined environments formatted as
<details>and<summary>dropdownsUser-defined LaTeX theorem environments with customizable:
Theorem counters
Heading punctuation
Linkable
ids by theorem name