App-md2html

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for App-md2html

0.01.1  2026-04-16 06:59:37 PDT
        - Add MD2HTML_EMBEDDED/MD2HTML_FRAGMENT environment variables and
        --embedded|fragment CLI options for embedding output in existing HTML
        documents, for example the cgit about-filter output

        - Fix main package main so it indexes on CPAN properly/can be seen by cpanm,
        carton, carmel, cpm, etc.

        - Update author/fatpack.pl for latest version of IPC::Nosh

0.01  2026-04-13 13:45:38 PDT
        - Initial release

script/md2html.pl  view on Meta::CPAN

}

method cli : common ( $argv = \@ARGV ) {
    my %cliopt = ( in => [], out => [] );

    GetOptionsFromArray(
        $argv,
        \%cliopt,

        'outfile=s{,}'
        ,    # If this is empty should we enable --embedded|no-header|fragment

        'encoding_in|charset|charset-in|encoding|inencoding=s',
        'encoding_out|outcharset|outencoding|outencode|charset-out=s',

        # 'css|stylesheeet:s',

        # 'toc:s',

        'htmldoc|full-html|html-page!',

        #'doctype:s',
        #'header:s',
        'embedded|fragment',

        # 'html-ver=s',
        # 'xhtml',
        # 'html5',

        #'minify:s',
        'minify!',

        #'passthrough=s',    # TODO: passthrough based on file ext
        'debug+',



( run in 0.919 second using v1.01-cache-2.11-cpan-b16cb0d3907 )