okkur / syna

Highly customizable open source theme for Hugo based static websites
https://syna.okkur.org/demo/
Apache License 2.0
251 stars 134 forks source link

Markdown not rendered within table #671

Closed stp-ip closed 4 years ago

stp-ip commented 4 years ago

Is this a BUG REPORT or FEATURE REQUEST?: bug

What happened: Markdown inside tables don't seem to be rendered.

What you expected to happen: Rendered markdown as before.

How to reproduce it (as minimally and precisely as possible): https://about.txtdirect.org/docs/placeholders/

Anything else we need to know?: This might also be covered with a test as we ran into this as a regression.

mpourismaiel commented 4 years ago

I'm not sure which version of Hugo have been used to build the website. I'm using v0.62.2 and it seems to be working fine. Please use the latest version of Hugo as we seem to be supporting it without anything breaking. image

stp-ip commented 4 years ago

Damn might have been a patch fix or something. Will update to the latest hugo and recheck.

stp-ip commented 4 years ago

Nothing to do with Syna specifically, but Goldmark/Commonmark. **Bold** doesn't work, but prefixing the markdown with whitespace works. Seems like it needs a preceding whitespace.

The spec says it needs whitespace before rendering anything in markdown. So seems to be weird, but intentional.

mpourismaiel commented 4 years ago

That's really weird.