Skip to content

Include markdown from other files #33

@tobiasdiez

Description

@tobiasdiez

This filter makes it very easy to embed code. It would be nice if one could also embed a different markdown document. This is handy for longer documents, where one could create an index and have other documents say for each chapter. The syntax could be something like

```{include=chapterA.md embed snippet=cool-thingy}
```

or

```{embed=chapterA.md snippet=cool-thingy}
```

I know that there are already other filters that can do this, e.g. https://github.com/DCsunset/pandoc-include. But none of them has the nice features such as snippet or selections by lines.

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