Changes
Page history
notice markdownlint is now packaged in debian
authored
Dec 21, 2023
by
anarcat
Show whitespace changes
Inline
Side-by-side
service/documentation.md
View page @
ee6333d5
...
@@ -105,8 +105,8 @@ check with [codespell][].
...
@@ -105,8 +105,8 @@ check with [codespell][].
### Markdown linting
### Markdown linting
You can install
[
markdownlint
][]
using the upstream instructions,
but
You can install
[
markdownlint
][]
using the upstream instructions,
or
anarcat prefers to
run it under
D
ocker
,
with a
wrapper script like
:
run it under
d
ocker with a
following wrapper
:
[
markdownlint
]:
https://github.com/markdownlint/markdownlint
[
markdownlint
]:
https://github.com/markdownlint/markdownlint
...
@@ -117,6 +117,8 @@ anarcat prefers to run it under Docker, with a wrapper script like:
...
@@ -117,6 +117,8 @@ anarcat prefers to run it under Docker, with a wrapper script like:
Drop this somewhere in your path as
`mdl`
and it will behave just as
Drop this somewhere in your path as
`mdl`
and it will behave just as
if it was installed locally.
if it was installed locally.
Otherwise markdown lint ships with Debian 13 (trixie) and later.
Then you should drop this in
`.git/hooks/pre-commit`
(if you want to
Then you should drop this in
`.git/hooks/pre-commit`
(if you want to
enforce checks):
enforce checks):
...
...
...
...