New line
#2631
Replies: 3 comments 8 replies
-
Can you provide some code? And provide the actual string sent to marked? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also if you think this is a bug in marked it is better to create a new issue instead of a discussion. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thanks so much for such an awesome package.
I am using Strapi for my backend, which is a headless cms. It is an awesome tool.
With Strapi you add information/data on the backend, and it exposes an API with all the data, which you can consume on the front end.
Strapi has a rich text editor, which is exposed as a markdown string on the API.
I need to transform that markdown string into HTML.
I am succesfully doing that, but, the new lines are not being interpreted.
Strapi creates a \n for each new line, and aparently marked is not interpreting it. It is displaying the \n as a string.
Any help will be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions