-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
scope: ci/cdGitHub Actions (.github), related scripts, commit/push hooks (.husky)GitHub Actions (.github), related scripts, commit/push hooks (.husky)scope: formatFormatting of Markdown and MDX files, and other formatting checks in CI or related problemsFormatting of Markdown and MDX files, and other formatting checks in CI or related problems
Milestone
Description
All code snippets should be formatted to a single format automatically to provide consistency throughout the documentation.
Around 80 characters for line width due to narrow margins of Mintlify's code blocks on regular pages.
See also:
- https://github.com/remarkjs/remark
- https://github.com/remcohaszing/remark-prettier
- https://github.com/remcohaszing/unified-consistency
- https://github.com/remcohaszing/unified-prettier (the idea is to have something similar, but for code block nodes only: format their contents and override the file with that OR console.log the changes made)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
scope: ci/cdGitHub Actions (.github), related scripts, commit/push hooks (.husky)GitHub Actions (.github), related scripts, commit/push hooks (.husky)scope: formatFormatting of Markdown and MDX files, and other formatting checks in CI or related problemsFormatting of Markdown and MDX files, and other formatting checks in CI or related problems