├── .env.example ├── .github └── workflows │ └── main.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── assets └── screenshot.png ├── eslint.config.js ├── jsx ├── index.js ├── package.json └── types.d.ts ├── manifest.json ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── prettier.config.js ├── rolldown.config.ts ├── scripts ├── patch-prettier.ts ├── patches │ └── prettier.patch └── utils.ts ├── src ├── formatter.ts ├── i18n │ ├── en.tsx │ ├── index.tsx │ ├── types.ts │ └── zh-cn.tsx ├── main.ts ├── model.ts ├── setting.ts ├── styles.css └── utils │ ├── common.ts │ ├── string.ts │ └── version.ts ├── tests ├── formatter │ ├── fixtures │ │ ├── add-trailing-spaces │ │ │ ├── input │ │ │ │ ├── cursor-1-1.md │ │ │ │ ├── cursor-1-2.md │ │ │ │ ├── cursor-2-1.md │ │ │ │ ├── cursor-2-2.md │ │ │ │ ├── cursor-2-3.md │ │ │ │ └── no-cursor.md │ │ │ └── output │ │ │ │ ├── cursor-1-1.md │ │ │ │ ├── cursor-1-2.md │ │ │ │ ├── cursor-2-1.md │ │ │ │ ├── cursor-2-2.md │ │ │ │ ├── cursor-2-3.md │ │ │ │ └── no-cursor.md │ │ ├── fast-mode │ │ │ └── input │ │ │ │ └── long-content.md │ │ ├── format-content │ │ │ ├── cursor │ │ │ │ ├── input │ │ │ │ │ ├── cursor-1.md │ │ │ │ │ ├── cursor-2.md │ │ │ │ │ ├── cursor-3.md │ │ │ │ │ └── cursor-4.md │ │ │ │ └── output │ │ │ │ │ ├── cursor-1.md │ │ │ │ │ ├── cursor-2.md │ │ │ │ │ ├── cursor-3.md │ │ │ │ │ └── cursor-4.md │ │ │ └── modify-spaces │ │ │ │ ├── input │ │ │ │ ├── cursor-1.md │ │ │ │ ├── cursor-2.md │ │ │ │ ├── cursor-3.md │ │ │ │ └── cursor-4.md │ │ │ │ └── output │ │ │ │ ├── cursor-1.md │ │ │ │ ├── cursor-2.md │ │ │ │ ├── cursor-3.md │ │ │ │ └── cursor-4.md │ │ ├── format-selection │ │ │ ├── line-break │ │ │ │ ├── input │ │ │ │ │ ├── cursor-1.md │ │ │ │ │ ├── cursor-2.md │ │ │ │ │ ├── cursor-3.md │ │ │ │ │ └── cursor-4.md │ │ │ │ └── output │ │ │ │ │ ├── cursor-1.md │ │ │ │ │ ├── cursor-2.md │ │ │ │ │ ├── cursor-3.md │ │ │ │ │ └── cursor-4.md │ │ │ └── modify-spaces │ │ │ │ ├── input │ │ │ │ ├── cursor-1.md │ │ │ │ ├── cursor-2.md │ │ │ │ ├── cursor-3.md │ │ │ │ └── cursor-4.md │ │ │ │ └── output │ │ │ │ ├── cursor-1.md │ │ │ │ ├── cursor-2.md │ │ │ │ ├── cursor-3.md │ │ │ │ └── cursor-4.md │ │ ├── md-and-mdx │ │ │ ├── input │ │ │ │ ├── md.md │ │ │ │ └── mdx.mdx │ │ │ └── output │ │ │ │ ├── md.md │ │ │ │ └── mdx.mdx │ │ └── remove-extra-spaces │ │ │ ├── input │ │ │ ├── cursor-1-1.md │ │ │ ├── cursor-1-2.md │ │ │ ├── cursor-1-3.md │ │ │ ├── cursor-1-4.md │ │ │ ├── cursor-2-1.md │ │ │ ├── cursor-2-2.md │ │ │ ├── cursor-2-3.md │ │ │ ├── cursor-2-4.md │ │ │ └── no-cursor.md │ │ │ └── output │ │ │ ├── cursor-1-1.md │ │ │ ├── cursor-1-2.md │ │ │ ├── cursor-1-3.md │ │ │ ├── cursor-1-4.md │ │ │ ├── cursor-2-1.md │ │ │ ├── cursor-2-2.md │ │ │ ├── cursor-2-3.md │ │ │ ├── cursor-2-4.md │ │ │ └── no-cursor.md │ └── index.test.ts ├── prettier │ └── index.test.ts └── utils │ └── string.test.ts ├── tsconfig.json ├── types ├── env.d.ts ├── global.d.ts ├── obsidian.d.ts └── prettier.d.ts └── vitest.config.mts /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/README.md -------------------------------------------------------------------------------- /assets/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/assets/screenshot.png -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/eslint.config.js -------------------------------------------------------------------------------- /jsx/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/jsx/index.js -------------------------------------------------------------------------------- /jsx/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/jsx/package.json -------------------------------------------------------------------------------- /jsx/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/jsx/types.d.ts -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/manifest.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/prettier.config.js -------------------------------------------------------------------------------- /rolldown.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/rolldown.config.ts -------------------------------------------------------------------------------- /scripts/patch-prettier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/scripts/patch-prettier.ts -------------------------------------------------------------------------------- /scripts/patches/prettier.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/scripts/patches/prettier.patch -------------------------------------------------------------------------------- /scripts/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/scripts/utils.ts -------------------------------------------------------------------------------- /src/formatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/formatter.ts -------------------------------------------------------------------------------- /src/i18n/en.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/i18n/en.tsx -------------------------------------------------------------------------------- /src/i18n/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/i18n/index.tsx -------------------------------------------------------------------------------- /src/i18n/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/i18n/types.ts -------------------------------------------------------------------------------- /src/i18n/zh-cn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/i18n/zh-cn.tsx -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/model.ts -------------------------------------------------------------------------------- /src/setting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/setting.ts -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/styles.css -------------------------------------------------------------------------------- /src/utils/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/utils/common.ts -------------------------------------------------------------------------------- /src/utils/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/utils/string.ts -------------------------------------------------------------------------------- /src/utils/version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/src/utils/version.ts -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/input/cursor-1-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/input/cursor-1-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/input/cursor-1-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/input/cursor-1-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/input/cursor-2-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/input/cursor-2-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/input/cursor-2-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/input/cursor-2-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/input/cursor-2-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/input/cursor-2-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/input/no-cursor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/input/no-cursor.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/output/cursor-1-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/output/cursor-1-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/output/cursor-1-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/output/cursor-1-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/output/cursor-2-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/output/cursor-2-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/output/cursor-2-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/output/cursor-2-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/output/cursor-2-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/output/cursor-2-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/add-trailing-spaces/output/no-cursor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/add-trailing-spaces/output/no-cursor.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/fast-mode/input/long-content.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/fast-mode/input/long-content.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/cursor/input/cursor-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/cursor/input/cursor-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/cursor/input/cursor-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/cursor/input/cursor-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/cursor/input/cursor-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/cursor/input/cursor-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/cursor/input/cursor-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/cursor/input/cursor-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/cursor/output/cursor-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/cursor/output/cursor-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/cursor/output/cursor-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/cursor/output/cursor-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/cursor/output/cursor-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/cursor/output/cursor-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/cursor/output/cursor-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/cursor/output/cursor-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/modify-spaces/input/cursor-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/modify-spaces/input/cursor-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/modify-spaces/input/cursor-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/modify-spaces/input/cursor-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/modify-spaces/input/cursor-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/modify-spaces/input/cursor-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/modify-spaces/input/cursor-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/modify-spaces/input/cursor-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/modify-spaces/output/cursor-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/modify-spaces/output/cursor-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/modify-spaces/output/cursor-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/modify-spaces/output/cursor-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/modify-spaces/output/cursor-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/modify-spaces/output/cursor-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-content/modify-spaces/output/cursor-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-content/modify-spaces/output/cursor-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/line-break/input/cursor-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/line-break/input/cursor-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/line-break/input/cursor-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/line-break/input/cursor-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/line-break/input/cursor-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/line-break/input/cursor-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/line-break/input/cursor-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/line-break/input/cursor-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/line-break/output/cursor-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/line-break/output/cursor-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/line-break/output/cursor-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/line-break/output/cursor-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/line-break/output/cursor-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/line-break/output/cursor-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/line-break/output/cursor-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/line-break/output/cursor-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/modify-spaces/input/cursor-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/modify-spaces/input/cursor-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/modify-spaces/input/cursor-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/modify-spaces/input/cursor-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/modify-spaces/input/cursor-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/modify-spaces/input/cursor-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/modify-spaces/input/cursor-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/modify-spaces/input/cursor-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/modify-spaces/output/cursor-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/modify-spaces/output/cursor-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/modify-spaces/output/cursor-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/modify-spaces/output/cursor-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/modify-spaces/output/cursor-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/modify-spaces/output/cursor-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/format-selection/modify-spaces/output/cursor-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/format-selection/modify-spaces/output/cursor-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/md-and-mdx/input/md.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/md-and-mdx/input/md.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/md-and-mdx/input/mdx.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/md-and-mdx/input/mdx.mdx -------------------------------------------------------------------------------- /tests/formatter/fixtures/md-and-mdx/output/md.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/md-and-mdx/output/md.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/md-and-mdx/output/mdx.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/md-and-mdx/output/mdx.mdx -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/cursor-1-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/cursor-1-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/cursor-1-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/cursor-1-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/cursor-1-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/cursor-1-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/cursor-1-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/cursor-1-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/cursor-2-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/cursor-2-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/cursor-2-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/cursor-2-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/cursor-2-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/cursor-2-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/cursor-2-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/cursor-2-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/input/no-cursor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/input/no-cursor.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/cursor-1-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/cursor-1-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/cursor-1-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/cursor-1-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/cursor-1-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/cursor-1-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/cursor-1-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/cursor-1-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/cursor-2-1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/cursor-2-1.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/cursor-2-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/cursor-2-2.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/cursor-2-3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/cursor-2-3.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/cursor-2-4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/cursor-2-4.md -------------------------------------------------------------------------------- /tests/formatter/fixtures/remove-extra-spaces/output/no-cursor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/fixtures/remove-extra-spaces/output/no-cursor.md -------------------------------------------------------------------------------- /tests/formatter/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/formatter/index.test.ts -------------------------------------------------------------------------------- /tests/prettier/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/prettier/index.test.ts -------------------------------------------------------------------------------- /tests/utils/string.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tests/utils/string.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/types/env.d.ts -------------------------------------------------------------------------------- /types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/types/global.d.ts -------------------------------------------------------------------------------- /types/obsidian.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/types/obsidian.d.ts -------------------------------------------------------------------------------- /types/prettier.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/types/prettier.d.ts -------------------------------------------------------------------------------- /vitest.config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoodbyeNJN/obsidian-plugin-prettier/HEAD/vitest.config.mts --------------------------------------------------------------------------------