Subject: | Please provide new constants from Discount 2.2 |
Discount version 2.2 has new flags for runtime behaviour, some of which controlled things that were previously only available at compile time:
+#define MKD_NODLDISCOUNT 0x00800000
+#define MKD_DLEXTRA 0x01000000
+#define MKD_FENCEDCODE 0x02000000
+#define MKD_IDANCHOR 0x04000000
+#define MKD_GITHUBTAGS 0x08000000
+#define MKD_URLENCODEDANCHOR 0x10000000
In particular, some binary builds of Discount's libmarkdown.so.2, like the one in Debian, defaulted to the equivalent of MKD_FENCEDCODE (and possibly others) in versions before 2.2, resulting in a loss of functionality when Discount is upgraded.
Please expose these constants to Perl alongside the current set.
MKD_NOSTYLE is also missing from Text::Markdown::Discount - it was added in version 2.1.5 with value 0x00400000.