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> |
||
|---|---|---|
| .. | ||
| src | ||
| book.toml | ||
| default.nix | ||
| settings.nix | ||