Articles

Markdown for technical writing: references, MathJax and Jupyter exports

· 1 min readmarkdownsoftdevel

References and footnotes

Inline [bib]

[bib]: https://v4.chriskrycho.com/2015/academic-markdown-and-citations.html

In the footnote [^bib]

[^bib]: https://v4.chriskrycho.com/2015/academic-markdown-and-citations.html

MathJax delimiters

Use $$ ... $$ for equations on a separate line and \( ... \) for inline equations.

Converting a Jupyter notebook exported to Markdown

Search and replace with these regular expressions (search pattern first, replacement second).

Matrix row separator:

\begin{bmatrix}(.*?) \\ (.*?)\end{bmatrix}
\begin{bmatrix} $1 \\\ $2 \end{bmatrix}

Inline math delimiters:

$(.+?)$[ ,.]
\\( $1 \\)

Inline numbers:

$$([d.]*?)$$
\\( $1 \\)

Images:

![png]((.*?))
![](/static/art/002/$1)

All articles

See also

softdevelPL

Notuj swobodnie, niech AI zadba o resztę

Od zawsze, im więcej notowałem, tym mniej użyteczny stawał się mój notes, czy to papierowy, czy elektroniczny.

linuxsoftdevel

Linux server administration: a practical cheatsheet

Security checks, certificates, scheduled jobs, disks and backups, network diagnostics and basic system configuration — commands I use on Linux servers.

ovhlinuxsoftdevel

OVH Public Cloud: moving instances, adding disks and swapping the gateway

Moving virtual servers with the OpenStack client, attaching a new block storage disk, and replacing the private network gateway when the public IP is blacklisted.