delei opened a new issue, #3657:
URL: https://github.com/apache/hertzbeat/issues/3657

   ### Description
   
   When running command `yarn md-lint` to check the markdown document format, 
the following errors were found
   ```bash
   yarn run v1.22.22
   $ markdownlint-cli2 --config ../.markdownlint-cli2.jsonc "./**/*.md" 
"#node_modules"
   markdownlint-cli2 v0.13.0 (markdownlint v0.34.0)
   Finding: ./**/*.md !node_modules home/**/*.md !**/node_modules/** 
!**/target/** !**/dist/**
   Linting: 843 file(s)
   Summary: 10 error(s)
   docs/help/ubuntu.md:124 MD032/blanks-around-lists Lists should be surrounded 
by blank lines [Context: "* Note: This indicator informa..."]
   docs/help/ubuntu.md:125 MD031/blanks-around-fences Fenced code blocks should 
be surrounded by blank lines [Context: "```yaml"]
   docs/help/ubuntu.md:164:3 MD047/single-trailing-newline Files should end 
with a single newline character
   docs/start/usecase/linux-os-practice.md:7:117 MD009/no-trailing-spaces 
Trailing spaces [Expected: 0 or 2; Actual: 1]
   docs/start/usecase/linux-os-practice.md:12:114 MD009/no-trailing-spaces 
Trailing spaces [Expected: 0 or 2; Actual: 1]
   docs/start/usecase/linux-os-practice.md:13:93 MD009/no-trailing-spaces 
Trailing spaces [Expected: 0 or 2; Actual: 1]
   docs/start/usecase/linux-os-practice.md:26:111 MD009/no-trailing-spaces 
Trailing spaces [Expected: 0 or 2; Actual: 1]
   i18n/zh-cn/docusaurus-plugin-content-docs/current/help/ubuntu.md:122 
MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: 
"* 注意:此指标信息依赖硬件传感器的监测工具(lm-sens..."]
   i18n/zh-cn/docusaurus-plugin-content-docs/current/help/ubuntu.md:123 
MD031/blanks-around-fences Fenced code blocks should be surrounded by blank 
lines [Context: "```yaml"]
   i18n/zh-cn/docusaurus-plugin-content-docs/current/help/ubuntu.md:162:3 
MD047/single-trailing-newline Files should end with a single newline character
   error Command failed with exit code 1.
   info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.
   ```
   
   I tried running `yarn md-lint-fix`  to automatically repair it, but some 
documents still have formatting issues, such as automatic line breaks and etc.
   
   ### Task List
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to