Glob path import
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.
I can try fixing implementing this, Kindly assign this to me @QuentinRoy @antfu @kermanx