11.stylix/docs
Matt Sturgeon 6e55a89494
doc: ensure code blocks are safely fenced (#1218)
Markdown uses ``` to start and end fenced code blocks. However code
blocks can themselves contain ``` sequences.

To deal with this, markdown allows code block fences to be of arbitrary
length; any sequence of fence-chars that is shorter than the opening
fence will not terminate the code block.

We can scan through the code block text to find the longest sequence of
`-chars to ensure the opening/closing fences are longer than the longest
in the code block.

Link: https://github.com/danth/stylix/pull/1218

Reviewed-by: awwpotato <awwpotato@voidq.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-05-06 00:57:27 +02:00
..
src nixvim: move standalone-mode docs from configuration → nixvim readme (#1219) 2025-05-04 09:54:32 -07:00
book.toml doc: split modules into separate pages (#873) 2025-02-23 15:50:41 +00:00
default.nix doc: ensure code blocks are safely fenced (#1218) 2025-05-06 00:57:27 +02:00
settings.nix stylix: simplify dummy values (#959) 2025-03-07 21:00:49 +00:00