On Wed, 13 Sept 2023 at 15:13, Markus Neteler <[email protected]> wrote:

> Hi,
>
> I have updated doc/infrastructure.md in my local Git copy and fail to
> commit it in a new PR due to pre-commit linting checks:
>
>
> markdownlint.............................................................Failed
> ...
>
> I tried to use `mdformat` on the file but the result isn't compatible
> with markdownlint.
>
> Is there any other tool to auto-format the file (even a 90% solution is
> fine)?
>

I used these two in the past with GRASS GIS:

npx markdownlint-cli --fix  doc/infrastructure.md
npx prettier --print-width 80 -w  doc/infrastructure.md

I don't remember exactly, but I guess at least one worked okay.
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to