Skip Menu |

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

Report information
The Basics
Id: 120455
Status: new
Priority: 0/
Queue: Pod-Markdown

People
Owner: Nobody in particular
Requestors: k-rindfrey [...] gmx.de
Cc:
AdminCc:

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



Subject: Feature request: Callback function for headings
The constructor already allows to pass a code ref with perldoc_fragment_format (for example). I'd like to pass a code ref that is executed whenever a =head1, =head2 etc is found to control what's generated. I want to something like this: =head1 The Chapter Text text .. =head2 The Section ... This should produce: # The Chapter {#The_Chapter} Text text .. ## The Section {#The_Chapter/The_Section} ... I actually do this by post-filtering, but having a callback inside Pod::Markdown would be more convenient.