Skip to content

Commit 49d0ed4

Browse files
committed
fix(mdc-remark): do not remove new lines from paragraphs
1 parent 344938b commit 49d0ed4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/stringify/mdc-remark.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export function mdcRemark(options?: Options | undefined | null) {
3636
* @see https://github.com/rehypejs/rehype-remark/blob/main/lib/index.js#L37ckages/remark/lib/index.js#L100
3737
*/
3838
document: true,
39+
newlines: true,
3940
...options,
4041
handlers: {
4142
...mdcRemarkHandlers,

0 commit comments

Comments
 (0)