A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/zerok/remark-lint-heading-length below:

zerok/remark-lint-heading-length: A simple rule for checking the heading length in Markdown documents

This rule for remark-lint enforces that headings have a certain number of words. By default, headings must have at least 2 words and at most 10. You can configure this length like this:

{
    "plugins": [
        "remark-preset-lint-recommended",
        ["remark-lint-heading-length", ["error", {
            "min": 3,
            "max": 12
        }]]
    ]
}

This would enforce at least 3 and at most 12 words within the heading of your Markdown files.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4