You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I don't have the empty line after the table, the tags after it get rendered as new cells of the table.
If I keep the empty line after the table, I create a new paragraph, which breaks the html syntax.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://github.com/kovetskiy/mark is using goldmark, so thanks first of all for creating this project!
I'm trying to render a markdown with some HTML around a table:
If I don't have the empty line after the table, the tags after it get rendered as new cells of the table.
If I keep the empty line after the table, I create a new paragraph, which breaks the html syntax.
kovetskiy/mark#324
We use a custom inline parser for the html tags: https://github.com/kovetskiy/mark/blob/master/pkg/mark/parser/confluencetags.go
I tried replacing it with a BlockParser, but I was unable to get the nesting right.
Any thoughts what I can do to achieve the following result:
Beta Was this translation helpful? Give feedback.
All reactions