![]() Where the syntax appears to have been reversed (the and () are This rule is triggered when text that appears to be a link is encountered, but Rationale: Hard tabs are often rendered inconsistently by different editors and To use a different number of spaces, set the spaces_per_tab Makes it easier for documents to include code for languages that require hardīy default, violations of this rule are fixed by replacing the tab with 1 spaceĬharacter. Should be ignored (i.e., hard tabs will be allowed, though not required). The ignore_code_languages parameter can be set to a list of languages that When code blocks are scanned (e.g., by default or if code_blocks is true), Code blocks and spans are includedīy default since handling of tabs by Markdown tools can be inconsistent (e.g., You have the option to exclude this rule for code blocks and spans. * Spaces used to indent the list item instead To report such instances as well, set the strict parameter to true. Setting br_spaces to 1 behaves the same as 0, disallowing any trailing spaces.īy default, this rule will not trigger when the allowed number of spaces is used,Įven when it doesn't create a hard break (for example, at the end of a paragraph). Note: You must set br_spaces to a value >= 2 for this parameter to take effect. Value allows 2 spaces to indicate a hard break ( element). Of trailing spaces, typically used to insert an explicit line break. The br_spaces parameter allows an exception to this rule for a specific number Note: Trailing space is allowed in indented and fenced code blocks because some Remove the trailing space from the end of the line. This rule is triggered on any lines that end with unexpected whitespace. Parameters: br_spaces, list_item_empty_lines, strict (number default 2, boolean default false, boolean default false)įixable: Most violations can be fixed by tooling Note: See Prettier.md for compatibility information. Issue for other Markdown parsers, which require 4-space indents. Additionally, this can be a compatibility Indenting by 4 spaces is consistent with code blocksĪnd simpler for editors to implement. Line with the start of the content of the parent list when a single space is Rationale: Indenting by 2 spaces allows the content of a nested list to be in The start_indent parameter allows the first level of lists to be indentedīy a different number of spaces than the rest (ignored when start_indented is not The configured number of spaces rather than starting at zero (the inverse of The start_indented parameter allows the first level of lists to be indented by Unordered (otherwise, extra indentation of ordered lists interferes with the Note: This rule applies to a sublist only if its parent lists are all also
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |