Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pjkaufman committed Mar 22, 2024
1 parent a12f449 commit d364f57
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/docs/settings/spacing-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,15 @@ All headings have a blank line both before and after (except where the heading i
| `Bottom` | Insert a blank line after headings | N/A | `true` |
| `Empty Line Between YAML and Header` | Keep the empty line between the YAML frontmatter and header | N/A | `true` |

### Additional Info


!!! Warning
If [paragraph blank lines](#paragraph-blank-lines) is on, a newline will still be added between a heading and a paragraph, even if `Bottom` is `false`. You can override this by adding a [custom regex replacement rule](./custom-rules.md#custom-regex-replacement) with the following settings:

| regex to find | flags | regex to replace |
|:------------- |:----- |:---------------- |
| `(^#+\s.*)\n+` | `gm` | `$1\n` |


### Examples
Expand Down

0 comments on commit d364f57

Please sign in to comment.