Closed TomAugspurger closed 8 years ago
My hacky little one breaks if an option's value has has comma in it, e.g. fig.cap="My chunk, captioned",
fig.cap="My chunk, captioned"
I suspect https://docs.python.org/3.5/library/tokenize.html and https://docs.python.org/3.5/library/token.html#token.OP will do it. It handles quotes.
My hacky little one breaks if an option's value has has comma in it, e.g.
fig.cap="My chunk, captioned"
,