Skip to content

incorrect path when --extract-media is used in conjunction with #53

@ickc

Description

@ickc

When --extract-media is used in conjunction with this filter, the resulting path with point to only media/... ignoring the specified parent directory.

A semi-reproducible example would be to create a docx file with an image in a table (TODO: create an example file here), and then run

# makefile syntax
%.md: %.docx
    pandoc -s -o $@ $< --extract-media=$(@D)/$* --id-prefix=$* -F pantable2csv

P.S. It might as well be an upstream bug.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions