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
Oh no, you are right — this issue is very vague (I was doing other stuff and got sloppy, my bad).
Multiline strings in markdown tables seem to trip swift-markdown when parsing the text. I didn't dive deep to debug what exactly is happening but trying to (simply) continue the text on the next line doesn't seem to work. Using a "\n" in the text also didn't seem to be on the right side of swift-markdown.
Ah, cell contents you mean -- yeah, multiline cells aren't possible in any Markdown table implementation I tried.
You basically would need to custom encode/decode string cells IIRC to replace a line break character or character sequence. (In TableFlip I santiize user input by replacing line breaks with single spaces, for example.)
Markdown is the wrong format for this purpose, even though HTML can deal with complex cells just fine.
I see that swift-markdown is getting confused by multiline strings. Maybe a good idea is to encode newlines as \n?
The text was updated successfully, but these errors were encountered: