diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 5391c55..af88f16 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,8 +6,8 @@ labels: bug assignees: '' --- -- [ ] The Plugin is up to date -- [ ] Obsidian is up to date +- [ ] The Plugin is up to date +- [ ] Obsidian is up to date **Describe the bug** A clear and concise description of what the bug is. @@ -28,11 +28,11 @@ If applicable, add screenshots to help explain your problem. **Occurs on** -- [ ] Windows -- [ ] macOS -- [ ] Linux -- [ ] Android -- [ ] iOS +- [ ] Windows +- [ ] macOS +- [ ] Linux +- [ ] Android +- [ ] iOS **Plugin version** x.x.x diff --git a/.prettierrc.json b/.prettierrc.json index 1d10456..2b7b44c 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,12 +1,8 @@ { - "plugins": ["prettier-plugin-svelte"], - "printWidth": 160, "useTabs": true, "tabWidth": 4, "semi": true, "singleQuote": true, - "arrowParens": "avoid", - - "svelteAllowShorthand": false + "arrowParens": "avoid" } diff --git a/README.md b/README.md index 0ac1e19..68051a2 100644 --- a/README.md +++ b/README.md @@ -119,5 +119,5 @@ This plugin uses [shiki](https://shiki.style/), [Expressive Code](https://expres Special thanks to: -- Hippo (hippotastic) for their work and support with Expressive Code -- sailKite for CSS help and testing the plugin +- Hippo (hippotastic) for their work and support with Expressive Code +- sailKite for CSS help and testing the plugin diff --git a/automation/build/esbuild.config.ts b/automation/build/esbuild.config.ts index 1c7560f..b7df51d 100644 --- a/automation/build/esbuild.config.ts +++ b/automation/build/esbuild.config.ts @@ -1,7 +1,5 @@ import builtins from 'builtin-modules'; import esbuild from 'esbuild'; -import esbuildSvelte from 'esbuild-svelte'; -import sveltePreprocess from 'svelte-preprocess'; import { getBuildBanner } from 'build/buildBanner'; import { nodeModulesPolyfillPlugin } from 'esbuild-plugins-node-modules-polyfill'; @@ -41,14 +39,6 @@ const build = await esbuild.build({ MB_GLOBAL_CONFIG_DEV_BUILD: 'false', }, plugins: [ - esbuildSvelte({ - compilerOptions: { css: 'injected', dev: false, sveltePath: 'svelte' }, - preprocess: sveltePreprocess(), - filterWarnings: warning => { - // we don't want warnings from node modules that we can do nothing about - return !warning.filename?.includes('node_modules'); - }, - }), nodeModulesPolyfillPlugin({ modules: { fs: true, diff --git a/automation/build/esbuild.dev.config.ts b/automation/build/esbuild.dev.config.ts index 355add2..cd852cb 100644 --- a/automation/build/esbuild.dev.config.ts +++ b/automation/build/esbuild.dev.config.ts @@ -1,7 +1,5 @@ import esbuild from 'esbuild'; import copy from 'esbuild-plugin-copy-watch'; -import esbuildSvelte from 'esbuild-svelte'; -import sveltePreprocess from 'svelte-preprocess'; import manifest from '../../manifest.json' assert { type: 'json' }; import { getBuildBanner } from 'build/buildBanner'; import { nodeModulesPolyfillPlugin } from 'esbuild-plugins-node-modules-polyfill'; @@ -52,14 +50,6 @@ const context = await esbuild.context({ }, ], }), - esbuildSvelte({ - compilerOptions: { css: 'injected', dev: true, sveltePath: 'svelte' }, - preprocess: sveltePreprocess(), - filterWarnings: warning => { - // we don't want warnings from node modules that we can do nothing about - return !warning.filename?.includes('node_modules'); - }, - }), nodeModulesPolyfillPlugin({ modules: { fs: true, diff --git a/bun.lockb b/bun.lockb index 109cfcf..b541265 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/exampleVault/customLanguages/odin.json b/exampleVault/customLanguages/odin.json index ded026f..9a3eaa0 100644 --- a/exampleVault/customLanguages/odin.json +++ b/exampleVault/customLanguages/odin.json @@ -1,7 +1,7 @@ { "comment": "Taken from https://github.com/DanielGavin/ols. Modification of https://github.com/fivemoreminix/odin-vscode", "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", - "name": "Odin", + "name": "custom-odin", "patterns": [ { "include": "#file-tags" }, { "include": "#package-name-declaration" }, diff --git a/exampleVault/index.md b/exampleVault/index.md index 0495ce2..d120437 100644 --- a/exampleVault/index.md +++ b/exampleVault/index.md @@ -104,7 +104,7 @@ Inline code `{jsx}