Showing 65 of 65 total issues
Consider starting bulleted lists at the beginning of the line Open
* Headers, `h1` - `h6` - `#` to `######` before the string
- Read upRead up
- Exclude checks
MD006 - Consider starting bulleted lists at the beginning of the line
Tags: bullet, ul, indentation
Aliases: ul-start-left
This rule is triggered when top level lists don't start at the beginning of a line:
Some text
* List item
* List item
To fix, ensure that top level list items are not indented:
Some test
* List item
* List item
Rationale: Starting lists at the beginning of the line means that nested list items can all be indented by the same amount when an editor's indent function or the tab key is used to indent. Starting a list 1 space in means that the indent of the first nested list is less than the indent of the second level (3 characters if you use 4 space tabs, or 1 character if you use 2 space tabs).
Line length Open
Good news, this plugin is free for everyone! Since it's released under the [MIT License](https://github.com/inpsyde/marksimple/blob/master/LICENSE) you can use it free of charge on your personal or commercial website.
- Read upRead up
- Exclude checks
MD013 - Line length
Tags: line_length
Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)
This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.
This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.
You also have the option to exclude this rule for code blocks and tables. To
do this, set the code_blocks
and/or tables
parameters to false.
Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.
Hard tabs Open
* Code Blocks, `pre` - ` ` (4 spaces) or ` ` (tab) in each line or the fenced code blocks by placing triple backticks and optional the language identifier,
- Read upRead up
- Exclude checks
MD010 - Hard tabs
Tags: whitespace, hard_tab
Aliases: no-hard-tabs
This rule is triggered by any lines that contain hard tab characters instead of using spaces for indentation. To fix this, replace any hard tab characters with spaces instead.
Example:
Some text
* hard tab character used to indent the list item
Corrected example:
Some text
* Spaces used to indent the list item instead
Line length Open
[![Maintainability](https://api.codeclimate.com/v1/badges/3ce79c7b4118c47951cc/maintainability "Maintainability")](https://codeclimate.com/github/bueltge/marksimple/maintainability)
- Read upRead up
- Exclude checks
MD013 - Line length
Tags: line_length
Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)
This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.
This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.
You also have the option to exclude this rule for code blocks and tables. To
do this, set the code_blocks
and/or tables
parameters to false.
Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.
Line indented incorrectly; expected 8 spaces, found 12 Open
static function (string $content, ElementRuleInterface $rule): string {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 12 Open
},
- Exclude checks
Line length Open
The class is simple and I use it for my own documentation, there I write in markdown. Here and there is the result a single oage to help in each day to find the right syntax, hints, background and others. You can see this on this examples:
- Read upRead up
- Exclude checks
MD013 - Line length
Tags: line_length
Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)
This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.
This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.
You also have the option to exclude this rule for code blocks and tables. To
do this, set the code_blocks
and/or tables
parameters to false.
Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.
Expected a newline at the end of the file. Open
cd-risky: "⌽ "
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* Inline Code, `code` - an ``` backtick before and after the code string
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* [regular expressions 101](https://regex101.com/)
- Exclude checks
Unexpected tabs found. Open
}
- Exclude checks
Unexpected tabs found. Open
},
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* [My Git Notes](https://bueltge.de/git/)
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* Italic text, `em` - an `*` or `_` before and after the string
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* Headers, `h1` - `h6` - `#` to `######` before the string
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* Links, `a` - `[Link Text](Link URL)`
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* [RegExr](https://regexr.com/)
- Exclude checks
Unexpected additional newlines at the end of the file. Open
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* Horizontal line, `---`
- Exclude checks
Expected an indentation at 0 instead of at 1. Open
* [GitHub Repository](https://github.com/bueltge/marksimple)
- Exclude checks