Skip to content

Glob path import #2386

@QuentinRoy

Description

@QuentinRoy

Is your feature request related to a problem? Please describe.

I often organize my slides per section like the following:

.
├── pages
│   ├── 01-intro.md
│   ├── 02-variables.md
│   ├── 03-primitive-types.md
│   ├── 04-variable-scope.md
│   ├── 05-operators-and-control-flow.md
│   ├── 06-functions.md
│   ├── 07-objects.md
│   ├── 08-built-in-objects.md
│   ├── 09-classes.md
│   ├── 10-modules.md
|   └── 11-additional-syntax.md
└── slides.md

I then need to insert each of these sub files individually. If I later reorganize, e.g. move functions after objects in the example above, I'd rename the files so they are properly sorted, then I need to edit my main slides.md.

Describe the solution you'd like

It would be useful to be allowed to import slides using wildcards as follow:

___
src: "pages/*.md"
___

It would use natural ordering to insert each sections one after the other

Describe alternatives you've considered
Inserting each sub file individually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions