Skip Menu |

This queue is for tickets about the Text-Markdown-Discount CPAN distribution.

Report information
The Basics
Id: 73675
Status: resolved
Priority: 0/
Queue: Text-Markdown-Discount

People
Owner: Nobody in particular
Requestors: joey [...] kitenet.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.05



Subject: Ability to specify flags
The code currently hardcodes some flags: MKD_NOHEADER|MKD_NOPANTS I'd really like control over which discount features are enabled. My particular use-case is I want as close to pure vanilla markdown as possible. Others might want pants on. :)
started working on this at "flags" branch on github. https://github.com/sekimura/text-markdown- discount/commit/c40d3eb7db7959aa9421f210ed0e36960106ac43 On Mon Jan 02 11:48:23 2012, JOEY wrote: Show quoted text
> The code currently hardcodes some flags: MKD_NOHEADER|MKD_NOPANTS > > I'd really like control over which discount features are enabled. My > particular use-case is I want as close to pure vanilla markdown as > possible. Others might want pants on. :)
The flags branch looks good .. discount has some other flags that it would be great to be able to access from perl, including an alphalist option.
https://github.com/sekimura/text-markdown-discount/commit/5d14312f4e7191f7f0f95a264d82cfe25d4cf1c3 "Support MKD_* flags" changes made by Tokuhirom and 0.05 includes this change.