simplistix / sybil

Automated testing for the examples in your documentation.
https://sybil.readthedocs.io/en/latest/
Other
74 stars 14 forks source link

"skip" in MyST parser markdown documents #44

Closed sscherfke closed 1 year ago

sscherfke commented 1 year ago

According to the sybil docs, you can skip exmamples with ; skip ....

According to the MyST parser docs, comments start with a %.

Consequently, MySt does not hide ; skip ... statements in the output.

I can work around the issue by subclassign the skip parser and setting my own regex that uses % instead of ;.

cjw296 commented 1 year ago

The inconsistency in Markdown "standards" and parsing is why I'll be sticking with ReST myself. Anyway, thanks for the report, fixed in 443924abff3ce45abd4987ca306873752bfe2be8!

cjw296 commented 1 year ago

Released in https://pypi.org/project/sybil/4.0.1/