Markdown

From Wiki at Neela Nurseries
Revision as of 17:27, 10 February 2026 by Ted (talk | contribs) (Add notes regarding need for ignore directive with mdformat utility)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Markdown auto-formatting tools mdformat:

link to mdformat tool documentation:

2026-02-10 - Possible common localhost set up

A localhost can have multiple Python virtual environments. If a common way of using mdformat is desired it may make sense to create a `venv` in the localhost user's home directory, and to then install mdformat as follows:

 1022  python3 -m venv .venv
 1023  source ./.venv/bin/activate
 1025  pip install pipx
 1026  pipx install mdformat
 1027  pipx inject mdformat mdformat-gfm
 1028  history

Markdown Project Issues

Need for ignore directive with mdformat utility:

Markdown as formatting tool does not as of 2026 Q1 support "ignore block" directives. It formats the entire document. For single spaced bullet lists it concatenates each line and bullet point into a single line. Not helpful! A Github issue has been raised regarding this: