mirror of
https://github.com/cupcakearmy/markdown-it-import.git
synced 2024-12-22 08:16:27 +00:00
24 lines
553 B
Markdown
24 lines
553 B
Markdown
|
# Markdown import plugin
|
||
|
|
||
|
This is a `markdown-it` plugin to include/import raw files from your filesystem.
|
||
|
|
||
|
## Features
|
||
|
|
||
|
- No dependencies
|
||
|
- Recursive import
|
||
|
- Import whatever file
|
||
|
- Customizable RegEx
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```bash
|
||
|
npm install @nicco.io/markdown-it-import
|
||
|
```
|
||
|
|
||
|
## Similar works
|
||
|
|
||
|
There are two very similar plugins, which this one is def. inspired by, however while the one can only import `.md` files, the other cannot select single lines.
|
||
|
|
||
|
- https://github.com/camelaissani/markdown-it-include
|
||
|
- https://github.com/h-hg/markdown-it-import
|