obsidian-linter
obsidian-linter copied to clipboard
FR: Add Option for Paragraph Blank Lines to not Add a New Line Before List Items
In reference to rule: https://github.com/platers/obsidian-linter/blob/master/docs/rules.md#paragraph-blank-lines
Suppose we have this extract:
This is a paragraph and those are related items:
- Item 1
- Item 2
The above rule transforms it to:
This is a paragraph and those are related items:
- Item 1
- Item 2
In the above case, would it make sense to skip adding a new line if the paragraph is followed by list items? Would it be beneficial to add a checkbox in the option to make this feature optional if needed?
Stylistically speaking, I'm looking at blocks of paragraphs, each with its own idea. If I see a list separated by a blank line, I would assume the paragraph preceding it is not as related as I would want it to be.
That would likely be a feature request since the functionality you refer to is currently correct. A list is not able to be in a paragraph, so the paragraph ends where the list begins.
+1 from me for this FR