@ 343dev/markdown-lint (英语)

{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你还好吧 стандартам.
Основана 高级, (中文(简体) ), 备注 и 泰波格拉夫( 泰波格拉夫 )。 。 。 .
Мотивация
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢 документацией. {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}我.. {\fn黑体\fs22\bord1\shad0\3ahbe\4ah00\fscx67\fscy66\2chffffff\3ch808080}你觉得呢 语言工具-节点。 。 。 .
{\fn黑体\fs20\shad2\2aH82\3aH20\4aH33\fscx95\3cH592001\be1}你觉得呢? 马克倒... .. JS,CSS и иные. {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢.
Установка
校对:Soup
npm install -g @343dev/markdown-lint
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢
npm install --dev @343dev/markdown-lint
================================================================================================================================================================
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢 markdown-lint из
校对:soup
# проверка файла на наличие ошибок
markdown-lint README.md
# проверка файлов внутри директории (без поиска в поддиректориях)
markdown-lint ./docs
# проверка файлов внутри директории (с поиском в поддиректориях)
markdown-lint -r ./docs
# проверка файла и автоматическое исправление ошибок
markdown-lint --fix README.md
Доступные
--fix- исправление ошибок;--ext <value>- указание;допустимо указание,например也--ext apib --ext txtПоmd· ;-t, --typograph- типографирование;-r, --recursive- поиск не указанной директории директории директории во всех;-c, --config <file>- внешнего с;-v, --version- текущей версии;-h, --help——вывод.
Конфигурация
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢 评论。 。 。 .
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢 备注 {\fn黑体\fs22\bord1\shad0\3ahbe\4ah00\fscx67\fscy66\2chffffff\3ch808080}你觉得呢 注释预设- lint- markdown- system- 指南。 。 。 .
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢
--config 说吧
markdown-lint --fix --config ~/.markdownlintrc.cjs README.md
校对:Soup
module.exports = {
// prettier обрабатывает тексты, когда `--fix` передан
prettier: {
// автоматически ограничиваем длину строки в 120 символов
printWidth: '120'
},
remark: {
// применяем настройки для remark-lint
plugins: [
// объявляем линтеру, что максимальная длина строки теперь равна 120 символам
['remark-lint-maximum-line-length', 120],
// отключаем правило `no-inline-padding`
['remark-lint-no-inline-padding', false],
// объявляем линтеру, что мы теперь используем `*` как маркер списка
['remark-lint-unordered-list-marker-style', '*']
],
// remark-stringify обрабатывает тексты, когда `--fix` передан
stringifySettings: {
// автоматически заменяем все маркеры списка на `*`
bullet: '*'
}
},
typograf: {
// API настроек — https://github.com/typograf/typograf/blob/dev/docs/api_rules.md
// список правил — https://github.com/typograf/typograf/blob/dev/docs/RULES.ru.md
locale: ['ru', 'en-US'],
enableRules: [],
disableRules: [
// обязательное отключение следующих правил требуется для правильной работы типографа
'common/space/delTrailingBlanks',
'common/space/trimLeft',
'common/space/trimRight'
],
rulesSettings: []
}
};
Пример
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢 --fix
Linux kernel
============
There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.
__Useful links__
* [Linux kernel licensing rules](https://www.kernel.org/doc/html/latest/process/license-rules.html#kernel-licensing)
* [Reporting bugs](https://www.kernel.org/doc/html/latest/admin-guide/reporting-bugs.html)
После
# Linux kernel
There are several guides for kernel developers and users. These guides can be
rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use `make htmldocs` or `make pdfdocs`. The
formatted documentation can also be read online at:
```
https://www.kernel.org/doc/html/latest/
```
There are various text files in the Documentation/ subdirectory, several of them
using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about the
problems which may result by upgrading your kernel.
**Useful links**
- [Linux kernel licensing rules](https://www.kernel.org/doc/html/latest/process/license-rules.html#kernel-licensing)
- [Reporting bugs](https://www.kernel.org/doc/html/latest/admin-guide/reporting-bugs.html)
Благодарности
{\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢 Игорь。 。 。 .