I'm becoming very fond of the the double-comma separated format. eg.
All the advantages of simplicity and readability of comma-separated, without the problem of escaping or wrapping single commas.
Q: What do you do when you want to store a string that contains a double-comma ?
(This special case happens far, far less often than wanting to store a string that contains a single-comma, but I don't want to assume it never happens).
A : Right now, there's no special facility for escaping. Of course, really wanting to represent double commas is fairly unusual, but would become more common if people started adopting double comma format for other things. There's no escaping from the requirement for escaping :-)
In practice, in CardiganBay right now :
- Double-comma rendering is limited to :markdown type cards. So other CardTypes that store data in, say, EDN aren't affected.
- you can put an HTML comment between the two commas like this ,, This does, indeed let you show double commas (the comment is invisible) without treating them as tables.
This is a :raw card type with double commas that aren't turned into tables
And this a normal default markdown card where the same data is
Can tables be in bullet points and quotes.
You get the table, but it messes up the "beginning of line" markup.
OTOH, you can use basic markdown like
See also SmartAscii