├── .github ├── FUNDING.yml ├── actions │ └── setup │ │ └── action.yml └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── eslint.config.js ├── package.json ├── playground ├── index.html ├── lowlight.ts ├── main.ts ├── refractor.ts ├── schema.ts ├── setup.ts ├── shiki-lazy.ts ├── shiki.ts └── sugar-high.ts ├── pnpm-lock.yaml ├── src ├── cache.ts ├── hast.ts ├── index.ts ├── lowlight.ts ├── plugin.ts ├── refractor.ts ├── shiki.ts ├── sugar-high.ts └── types.ts ├── test ├── helpers.ts └── plugin.spec.ts ├── tsconfig.json ├── tsup.config.ts └── vite.config.ts /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [ocavue] 2 | -------------------------------------------------------------------------------- /.github/actions/setup/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/.github/actions/setup/action.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/eslint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/package.json -------------------------------------------------------------------------------- /playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/index.html -------------------------------------------------------------------------------- /playground/lowlight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/lowlight.ts -------------------------------------------------------------------------------- /playground/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/main.ts -------------------------------------------------------------------------------- /playground/refractor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/refractor.ts -------------------------------------------------------------------------------- /playground/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/schema.ts -------------------------------------------------------------------------------- /playground/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/setup.ts -------------------------------------------------------------------------------- /playground/shiki-lazy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/shiki-lazy.ts -------------------------------------------------------------------------------- /playground/shiki.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/shiki.ts -------------------------------------------------------------------------------- /playground/sugar-high.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/playground/sugar-high.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/cache.ts -------------------------------------------------------------------------------- /src/hast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/hast.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lowlight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/lowlight.ts -------------------------------------------------------------------------------- /src/plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/plugin.ts -------------------------------------------------------------------------------- /src/refractor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/refractor.ts -------------------------------------------------------------------------------- /src/shiki.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/shiki.ts -------------------------------------------------------------------------------- /src/sugar-high.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/sugar-high.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/src/types.ts -------------------------------------------------------------------------------- /test/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/test/helpers.ts -------------------------------------------------------------------------------- /test/plugin.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/test/plugin.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocavue/prosemirror-highlight/HEAD/vite.config.ts --------------------------------------------------------------------------------