svelte-markdown icon indicating copy to clipboard operation
svelte-markdown copied to clipboard

BR tag not rendering even when passed in as true to options

Open psqnt opened this issue 3 years ago • 4 comments

here is a simplified version of my svelte component using svelte-markdown

<script>
    let options = {
        breaks: true,
        gfm: true
    }
</script>

<SvelteMarkdown source={value} options={options} />

However there are still no line breaks showing after rendering, I've also tried overriding marked using setOptions but the behavior is the same - line breaks are ignored

Is there some way to get line breaks working?

psqnt avatar Aug 10 '22 16:08 psqnt

bump

I would also like the answer 😅

ZekyTheWolf avatar Mar 29 '23 20:03 ZekyTheWolf

I would like to have line breaks also

appelskrutt34 avatar May 25 '23 08:05 appelskrutt34

Bump again

But this kinda looks like dead project to be truth told...

ZekyTheWolf avatar Jul 26 '23 09:07 ZekyTheWolf

Bummer this issue has not been addressed after a year and a half... pretty important feature for a markdown renderer.

jaydevelopsstuff avatar Mar 11 '24 09:03 jaydevelopsstuff