Welcome on Codemirror
75 |├── static └── .nojekyll ├── .npmrc ├── src ├── routes │ ├── +layout.ts │ ├── css │ │ └── +page.svelte │ ├── html │ │ └── +page.svelte │ ├── javascript │ │ └── +page.svelte │ ├── typescript │ │ └── +page.svelte │ ├── _util │ │ └── code.ts │ ├── +layout.svelte │ └── +page.svelte ├── lib │ ├── index.ts │ ├── util.ts │ └── CodeMirror.svelte ├── app.html ├── app.d.ts └── styles.css ├── .gitignore ├── .prettierignore ├── prettier.config.js ├── vite.config.ts ├── tsconfig.json ├── svelte.config.js ├── .releaserc.yml ├── .eslintrc.cjs ├── .github └── workflows │ ├── test.yml │ ├── gh-pages.yml │ └── release.yml ├── LICENSE ├── eslint.config.js ├── package.json ├── CHANGELOG.md └── README.md /static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /src/routes/+layout.ts: -------------------------------------------------------------------------------- 1 | export const prerender = true; 2 | -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- 1 | export { default as default } from "./CodeMirror.svelte"; 2 | export type * from "./CodeMirror.svelte"; 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | /build 5 | /.svelte-kit 6 | /package 7 | .env 8 | .env.* 9 | !.env.example 10 | *.zip 11 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /build 4 | /.svelte-kit 5 | /package 6 | .env 7 | .env.* 8 | !.env.example 9 | *.md 10 | 11 | # Ignore files for PNPM, NPM and YARN 12 | pnpm-lock.yaml 13 | package-lock.json 14 | yarn.lock 15 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import("prettier").Config} */ 2 | const config = { 3 | tabWidth: 4, 4 | trailingComma: "es5", 5 | printWidth: 120, 6 | overrides: [{ files: "*.{json,html}", options: { tabWidth: 2 } }], 7 | }; 8 | 9 | export default config; 10 | -------------------------------------------------------------------------------- /src/app.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | %sveltekit.head% 7 | 8 | 9 |Welcome on Codemirror
75 |Loading editor...
360 |{value}
363 |