[PATCH v4 11/16] md2html: add asset mapping

Jason A. Donenfeld Jason at zx2c4.com
Wed Jun 27 19:32:56 CEST 2018


On Wed, Jun 20, 2018 at 12:13 PM Andy Green <andy at warmcat.com> wrote:

>         md2html <README.md README.md /path/to/plain/directory/
>
> The trailing "/" is important.

Can we make it not important? That is, if the type is always
explicitly a directory, treat it as such using the usual file name
joining logic.

Alternatively, and perhaps better, don't introduce a second argument.
Just pass the full file path in the first argument, and have asset
mapping always work it out in the right way.

Jason


More information about the CGit mailing list