icyleaf / markd

Yet another markdown parser, Compliant to CommonMark specification, written in Crystal.
MIT License
109 stars 31 forks source link

Document options #36

Closed straight-shoota closed 3 years ago

straight-shoota commented 3 years ago

This was originally part of a series of patches to markd by @asterite (https://github.com/crystal-lang/crystal/pull/8174/commits/a34895cd2dcf7afbfc222c38e80a5cc187c9d646) which is now being upstreamed.

Boolean flag options use question mark methods by convention, so those are changed to use the property? macro. The original getter methods are still available but deprecated.

The gfm and toc options are unused and could probably be removed until that changes, but that's not part of this patch.