Replies: 5 comments 2 replies
-
I am in favour of keeping things tidy and consistent. It does become a question of when we should add this - now, or after all docs have been converted to Markdown. As an aside, we should encourage people to use pre-commit - it can help take one of the cons away |
Beta Was this translation helpful? Give feedback.
-
Linking #9225 here as an example of a regression fix that could have been prevented if we would have had some kind of formatter / linter in place. I'm sure there exist tools / plugins to format / lint code blocks in documentation but I can't seem to find them through a quick google search, so maybe I'm mistaken and no such tools exist... or my google-fu search skills fail me today, the latter being more likely 😝 |
Beta Was this translation helpful? Give feedback.
-
Another tool that may help a lot, including for enforcing spelling of things, avoiding some text like |
Beta Was this translation helpful? Give feedback.
-
I’d be up for this if it can be set up in a way that people contributing via the GitHub UI can be linked to any CI failures, and see obvious guidance on how to fix any issues there. In the case of Prettier in particular – this would mean setting it up with a diff of any changes, working around the lack of support for diffing in the |
Beta Was this translation helpful? Give feedback.
-
#10597 - PR up, feedback or thoughts welcome. |
Beta Was this translation helpful? Give feedback.
-
Added as a discussion and not directly a new issue as we do not know if we want this enhancement just yet.
Context
prettier
into the codebase but intentionally left out.md
files.Examples of issues Prettier can fix
Examples of problems that this would cause
###
and not---
underlines) and we may want this to be more flexible.Links
Beta Was this translation helpful? Give feedback.
All reactions