├── .editorconfig ├── .github └── workflows │ ├── bb.yml │ └── main.yml ├── .gitignore ├── .npmrc ├── .prettierignore ├── index.js ├── lib └── index.js ├── license ├── package.json ├── readme.md ├── test ├── fixtures │ ├── mismatched │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── nodes │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── non-marker │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── range-children │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── remove-children │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── remove-subsequent │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── remove │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── replace-children │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── replace-subsequent │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ ├── replace │ │ ├── index.js │ │ ├── input.md │ │ └── output.md │ └── simple │ │ ├── index.js │ │ ├── input.md │ │ └── output.md └── index.js └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/bb.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/.github/workflows/bb.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | ignore-scripts=true 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | *.md 3 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/index.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/lib/index.js -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/license -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/readme.md -------------------------------------------------------------------------------- /test/fixtures/mismatched/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/mismatched/index.js -------------------------------------------------------------------------------- /test/fixtures/mismatched/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/mismatched/input.md -------------------------------------------------------------------------------- /test/fixtures/mismatched/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/mismatched/output.md -------------------------------------------------------------------------------- /test/fixtures/nodes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/nodes/index.js -------------------------------------------------------------------------------- /test/fixtures/nodes/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/nodes/input.md -------------------------------------------------------------------------------- /test/fixtures/nodes/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/nodes/output.md -------------------------------------------------------------------------------- /test/fixtures/non-marker/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/non-marker/index.js -------------------------------------------------------------------------------- /test/fixtures/non-marker/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/non-marker/input.md -------------------------------------------------------------------------------- /test/fixtures/non-marker/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/non-marker/output.md -------------------------------------------------------------------------------- /test/fixtures/range-children/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/range-children/index.js -------------------------------------------------------------------------------- /test/fixtures/range-children/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/range-children/input.md -------------------------------------------------------------------------------- /test/fixtures/range-children/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/range-children/output.md -------------------------------------------------------------------------------- /test/fixtures/remove-children/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/remove-children/index.js -------------------------------------------------------------------------------- /test/fixtures/remove-children/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/remove-children/input.md -------------------------------------------------------------------------------- /test/fixtures/remove-children/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/remove-children/output.md -------------------------------------------------------------------------------- /test/fixtures/remove-subsequent/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/remove-subsequent/index.js -------------------------------------------------------------------------------- /test/fixtures/remove-subsequent/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/remove-subsequent/input.md -------------------------------------------------------------------------------- /test/fixtures/remove-subsequent/output.md: -------------------------------------------------------------------------------- 1 | # Foo 2 | 3 | Bar. 4 | -------------------------------------------------------------------------------- /test/fixtures/remove/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/remove/index.js -------------------------------------------------------------------------------- /test/fixtures/remove/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/remove/input.md -------------------------------------------------------------------------------- /test/fixtures/remove/output.md: -------------------------------------------------------------------------------- 1 | # Foo 2 | -------------------------------------------------------------------------------- /test/fixtures/replace-children/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/replace-children/index.js -------------------------------------------------------------------------------- /test/fixtures/replace-children/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/replace-children/input.md -------------------------------------------------------------------------------- /test/fixtures/replace-children/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/replace-children/output.md -------------------------------------------------------------------------------- /test/fixtures/replace-subsequent/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/replace-subsequent/index.js -------------------------------------------------------------------------------- /test/fixtures/replace-subsequent/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/replace-subsequent/input.md -------------------------------------------------------------------------------- /test/fixtures/replace-subsequent/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/replace-subsequent/output.md -------------------------------------------------------------------------------- /test/fixtures/replace/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/replace/index.js -------------------------------------------------------------------------------- /test/fixtures/replace/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/replace/input.md -------------------------------------------------------------------------------- /test/fixtures/replace/output.md: -------------------------------------------------------------------------------- 1 | # Foo 2 | 3 | ## Bar 4 | -------------------------------------------------------------------------------- /test/fixtures/simple/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/simple/index.js -------------------------------------------------------------------------------- /test/fixtures/simple/input.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/simple/input.md -------------------------------------------------------------------------------- /test/fixtures/simple/output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/fixtures/simple/output.md -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/test/index.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/syntax-tree/mdast-zone/HEAD/tsconfig.json --------------------------------------------------------------------------------