├── .eslintrc.json ├── .github └── workflows │ └── test-and-release.yml ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .nvmrc ├── .releaserc.json ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── ava.config.js ├── package.json ├── src ├── loader.js └── main.cjs └── test ├── fixtures ├── plain-markdown.md └── with-code.md ├── index.test.js └── snapshots ├── index.test.js.md ├── index.test.js.snap ├── index.test.mjs.md └── index.test.mjs.snap /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/test-and-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/.github/workflows/test-and-release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | .eslintcache 4 | test/output -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v16.13.1 -------------------------------------------------------------------------------- /.releaserc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/.releaserc.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/README.md -------------------------------------------------------------------------------- /ava.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | files: ["test/**/*.js"], 3 | }; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/package.json -------------------------------------------------------------------------------- /src/loader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/src/loader.js -------------------------------------------------------------------------------- /src/main.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/src/main.cjs -------------------------------------------------------------------------------- /test/fixtures/plain-markdown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/test/fixtures/plain-markdown.md -------------------------------------------------------------------------------- /test/fixtures/with-code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/test/fixtures/with-code.md -------------------------------------------------------------------------------- /test/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/test/index.test.js -------------------------------------------------------------------------------- /test/snapshots/index.test.js.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/test/snapshots/index.test.js.md -------------------------------------------------------------------------------- /test/snapshots/index.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/test/snapshots/index.test.js.snap -------------------------------------------------------------------------------- /test/snapshots/index.test.mjs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/test/snapshots/index.test.mjs.md -------------------------------------------------------------------------------- /test/snapshots/index.test.mjs.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peerigon/markdown-loader/HEAD/test/snapshots/index.test.mjs.snap --------------------------------------------------------------------------------