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

Linebreaks in cell does not work #412

Closed
muffmolch opened this issue Jun 17, 2020 · 3 comments
Closed

Linebreaks in cell does not work #412

muffmolch opened this issue Jun 17, 2020 · 3 comments

Comments

@muffmolch
Copy link

muffmolch commented Jun 17, 2020

Hi
I like to have a line break inside my table cell:

image

a long time ago this works:

| Fruit         | Price                   | Advantages              |
| ------------- | ----------------------- | ----------------------- |
| Bananas       | first line<br>next line | first line<br>next line |
| Bananas       | first line<br>next line | first line<br>next line |

But this is the result :-(
image

Do you have any idea how to solve that?

@ShayNehmad
Copy link

ShayNehmad commented Jun 17, 2020

Adding

[markup.goldmark.renderer]
unsafe = true

to your config should solve it, I think ༼ つ ◕_◕ ༽つ

@muffmolch
Copy link
Author

Thanks! That really fixed my problem

@ShayNehmad
Copy link

No problem, glad to help 😎
@matcornic perhaps you should add this to the theme's documentation somewhere

maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this issue Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this issue Jan 23, 2024
maxatome pushed a commit to maxatome/hugo-theme-learn that referenced this issue Jan 23, 2024
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

2 participants