Skip to content

Sorting the order of multiple globbed files #292

@psychemedia

Description

@psychemedia

PR #248 supports the ability to pass multiple files, but I notice that if I pass a glob pattern (eg *.html) to combine multiple files into a single PDF:

  • in the command line version of pandoc, the glob returned docs are parsed in alphabetical sort order;
  • in pypandoc, the glob returned files are parsed in an arbitrary order.

If a glob pattern is passed, eg to capture files 01.md, 02.md etc, it would be really useful if the sort order were respected.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions