Anders Kaplan

Results 49 comments of Anders Kaplan

Ok, updated the commit message as requested. And you're right, the Mock `autospec` argument isn't even implemented for the Mock constructor, so removing it was a cosmetic thing.

No problem. I've updated the commit message.

Looking at the spec, https://spec.commonmark.org/0.30/#emphasis-and-strong-emphasis: It seems the reason you get the italics with an apostrophe is because the apostrophe counts as a Unicode punctuation character. The smart quote doesn't,...

Hmm, you're right. I looked further into the specs, and the smart quote *does* indeed count as a unicode punctuation character, it's in the Final Punctuation (Pf) category. So it...

Update: The best approach seems to be to use a proper Markdown parser. There are quite a few to choose from. But, none of the Markdown parsers I could find...

Yes, I did look at several parsers with some criteria in mind: pure python, compact and extensible codebase, CommonMark standard compliant, and a permissive license. mistletoe seemed to be the...

I have the translation code mostly written for mistletoe, so as soon as that PR makes into a release, I'll be able to post a PR here as well.

> @anderskaplan Mind if I copy the tests you added to mistletoe? Seems the easiest way to ensure it's doing what is wanted here. > > Are there any realistic...

> Sounds promising. Can the optimizing of whitespace and links be disabled? One pain point in this whole process of maintaining translations in git is merge conflicts. Whitespace changes would...

Removed the draft status on the PR now.