├── .editorconfig ├── .github ├── FUNDING.yml └── workflows │ ├── ci.yaml │ └── publish.yaml ├── .gitignore ├── .tool-versions ├── LICENSE ├── README.md ├── biome.json ├── bun.lockb ├── package.json ├── src ├── index.ts ├── mapping │ └── markdown-syntax-map.ts ├── mdxProcessor.ts └── parse.ts ├── test ├── fixtures │ ├── mdxFlowExpression │ │ ├── input.mdx │ │ └── output.json │ ├── mdxFlowExpressionComment │ │ ├── input.mdx │ │ └── output.json │ ├── mdxJsxFlowElement │ │ ├── input.mdx │ │ └── output.json │ ├── mdxJsxTextElement │ │ ├── input.mdx │ │ └── output.json │ ├── mdxTextExpression │ │ ├── input.mdx │ │ └── output.json │ ├── mdxTextExpressionComment │ │ ├── input.mdx │ │ └── output.json │ └── mdxjsEsm │ │ ├── input.mdx │ │ └── output.json └── parsing.test.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [3w36zj6] 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | lib/ 3 | tsconfig.tsbuildinfo 4 | -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | bun 1.0.36 2 | nodejs 20.12.0 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/README.md -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/biome.json -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/bun.lockb -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/mapping/markdown-syntax-map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/src/mapping/markdown-syntax-map.ts -------------------------------------------------------------------------------- /src/mdxProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/src/mdxProcessor.ts -------------------------------------------------------------------------------- /src/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/src/parse.ts -------------------------------------------------------------------------------- /test/fixtures/mdxFlowExpression/input.mdx: -------------------------------------------------------------------------------- 1 | { 2 | a + 1 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/mdxFlowExpression/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxFlowExpression/output.json -------------------------------------------------------------------------------- /test/fixtures/mdxFlowExpressionComment/input.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxFlowExpressionComment/input.mdx -------------------------------------------------------------------------------- /test/fixtures/mdxFlowExpressionComment/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxFlowExpressionComment/output.json -------------------------------------------------------------------------------- /test/fixtures/mdxJsxFlowElement/input.mdx: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/mdxJsxFlowElement/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxJsxFlowElement/output.json -------------------------------------------------------------------------------- /test/fixtures/mdxJsxTextElement/input.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxJsxTextElement/input.mdx -------------------------------------------------------------------------------- /test/fixtures/mdxJsxTextElement/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxJsxTextElement/output.json -------------------------------------------------------------------------------- /test/fixtures/mdxTextExpression/input.mdx: -------------------------------------------------------------------------------- 1 | b {true}. 2 | -------------------------------------------------------------------------------- /test/fixtures/mdxTextExpression/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxTextExpression/output.json -------------------------------------------------------------------------------- /test/fixtures/mdxTextExpressionComment/input.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxTextExpressionComment/input.mdx -------------------------------------------------------------------------------- /test/fixtures/mdxTextExpressionComment/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxTextExpressionComment/output.json -------------------------------------------------------------------------------- /test/fixtures/mdxjsEsm/input.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxjsEsm/input.mdx -------------------------------------------------------------------------------- /test/fixtures/mdxjsEsm/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/fixtures/mdxjsEsm/output.json -------------------------------------------------------------------------------- /test/parsing.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/test/parsing.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/textlint/textlint-plugin-mdx/HEAD/tsconfig.json --------------------------------------------------------------------------------