-
Notifications
You must be signed in to change notification settings - Fork 18
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
How to add new line? #4
Comments
Hi, You need to press enter key just like in any text editor. There is no special way to make a line break. If You press enter key one time, You will get one new line (one line break) If You still have a problem, please paste here an example of the text which doesn't work. |
Same problem here - The text that is being passed to
HTML Output:
The output should be something like this:
|
I've also had this issue and found that I needed to include the css file within my component, as per the doc's guidance - https://github.com/Vivify-Ideas/vue-simple-markdown/blob/master/README.md#bundler-webpack-rollup
My markdown renderer component:
|
This is the magic line: |
@owenandrews Could you give some more detail? Where should I include that line and how does it work? |
@portikM Give your markdown element a class, say
|
Hi,
As far as I know, new line in markdown is added by
\
at the end of the line<br>
at the end of the lineI tried all of the above and none of them worked. Is there another way of adding new lines that vue-simple-markdown supports?
The text was updated successfully, but these errors were encountered: