mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 22:46:22 +00:00
19 lines
743 B
Markdown
19 lines
743 B
Markdown
|
---
|
||
|
title: HardLineBreaks
|
||
|
tags:
|
||
|
- plugin/transformer
|
||
|
---
|
||
|
|
||
|
This plugin automatically converts single line breaks in Markdown text into hard line breaks in the HTML output. This plugin is not enabled by default as this doesn't follow the semantics of actual Markdown but you may enable it if you'd like parity with [[Obsidian compatibility|Obsidian]].
|
||
|
|
||
|
> [!note]
|
||
|
> For information on how to add, remove or configure plugins, see the [[Configuration#Plugins|Configuration]] page.
|
||
|
|
||
|
This plugin has no configuration options.
|
||
|
|
||
|
## API
|
||
|
|
||
|
- Category: Transformer
|
||
|
- Function name: `Plugin.HardLineBreaks()`.
|
||
|
- Source: [`quartz/plugins/transformers/linebreaks.ts`](https://github.com/jackyzha0/quartz/blob/v4/quartz/plugins/transformers/linebreaks.ts).
|