Skip to content

Commit

Permalink
Preserve linebreaks (#1241)
Browse files Browse the repository at this point in the history
With preserving linebreaks, subset list items are rendered as a list,
and paragraph rendering is the same as Github.
  • Loading branch information
nknguyenhc authored Feb 12, 2024
1 parent 2c18b71 commit a9d38dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/lib/marked.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function markedOptionsFactory(): MarkedOptions {
return {
renderer,
gfm: true,
breaks: false,
breaks: true,
pedantic: false,
smartLists: true,
smartypants: false
Expand Down

0 comments on commit a9d38dd

Please sign in to comment.