Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
psqnt opened this issue Aug 10, 2022 · 4 comments
Open

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

psqnt opened this issue Aug 10, 2022 · 4 comments

Comments

@psqnt
Copy link

psqnt commented Aug 10, 2022

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?

@ZekyTheWolf
Copy link

bump

I would also like the answer 😅

@appelskrutt34
Copy link

I would like to have line breaks also

@ZekyTheWolf
Copy link

Bump again

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

@jaydevelopsstuff
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants