Commit 9c9e25c
authored
[skip changelog]Prevent Prettier from wrapping nightly download link definitions (#901)
Prettier is configured to wrap lines in Markdown files at 120 characters. The reference definitions for the nightly ARM downloads happen to be longer than 120 characters, and so get wrapped.
With the modern Markdown specification, this is permitted:
https://spec.commonmark.org/0.29/#link-reference-definitions
> A link reference definition consists of a link label, indented up to three spaces, followed by a colon (:), optional whitespace (including up to one line ending), a link destination
but apparently the Python-Markdown renderer used by MkDocs does not support this.
The solution is to remove the line breaks and markup to instruct Prettier to ignore these lines:
https://prettier.io/docs/en/ignore.html#markdown1 parent f4a55e6 commit 9c9e25c
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
0 commit comments