├── .env.example ├── .eslintignore ├── .eslintrc ├── .github ├── FUNDING.yml └── workflows │ ├── cd.yml │ ├── ci.yml │ └── coverage.yml ├── .gitignore ├── .npmignore ├── .versionrc ├── CHANGELOG.md ├── DEMO_TEMPLATE.md ├── GENERATOR_DOC.md ├── LICENSE ├── README.md ├── api ├── Global.d.ts ├── Joplin.d.ts ├── JoplinClipboard.d.ts ├── JoplinCommands.d.ts ├── JoplinContentScripts.d.ts ├── JoplinData.d.ts ├── JoplinFilters.d.ts ├── JoplinImaging.d.ts ├── JoplinInterop.d.ts ├── JoplinPlugins.d.ts ├── JoplinSettings.d.ts ├── JoplinViews.d.ts ├── JoplinViewsDialogs.d.ts ├── JoplinViewsEditor.d.ts ├── JoplinViewsMenuItems.d.ts ├── JoplinViewsMenus.d.ts ├── JoplinViewsNoteList.d.ts ├── JoplinViewsPanels.d.ts ├── JoplinViewsToolbarButtons.d.ts ├── JoplinWindow.d.ts ├── JoplinWorkspace.d.ts ├── index.ts ├── noteListType.d.ts ├── noteListType.ts └── types.ts ├── jest.config.js ├── package.json ├── plugin.config.json ├── scripts └── announceRelease.js ├── src ├── actions.ts ├── helpers │ ├── case.ts │ ├── compare.ts │ ├── condition.ts │ ├── context.ts │ ├── custom_datetime.ts │ ├── datetime.ts │ ├── helper.ts │ ├── index.ts │ ├── math.ts │ ├── repeat.ts │ └── utils │ │ └── attributes.ts ├── index.ts ├── legacyTemplates.ts ├── logger.ts ├── manifest.json ├── parser.ts ├── settings │ ├── applyTagsWhileInserting.ts │ ├── base.ts │ ├── defaultNoteTemplateId.ts │ ├── defaultTemplatesConfig.ts │ ├── defaultTodoTemplateId.ts │ ├── global │ │ ├── base.ts │ │ └── index.ts │ ├── index.ts │ ├── registry.ts │ └── templatesSource.ts ├── utils │ ├── dataApi.ts │ ├── dateAndTime.ts │ ├── defaultTemplates.ts │ ├── folders.ts │ ├── promises.ts │ ├── tags.ts │ ├── templates.ts │ └── typescript.ts ├── variables │ ├── parser.ts │ └── types │ │ ├── base.ts │ │ ├── boolean.ts │ │ ├── date.ts │ │ ├── enum.ts │ │ ├── invalid.ts │ │ ├── number.ts │ │ ├── text.ts │ │ └── time.ts └── views │ ├── commandsPanel.ts │ ├── defaultTemplates.ts │ ├── templateVariables.ts │ ├── webview.css │ └── webview.js ├── tests ├── helpers │ └── utils │ │ └── attributes.spec.ts ├── jest-setup.js ├── mock-joplin-api.ts ├── parser.spec.ts └── utils │ ├── dateAndTime.spec.ts │ └── templates.spec.ts ├── tsconfig.json └── webpack.config.js /.env.example: -------------------------------------------------------------------------------- 1 | GITHUB_ACCESS_TOKEN= 2 | DISCOURSE_API_KEY= 3 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | publish 3 | dist 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/cd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/.github/workflows/cd.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | publish/ 4 | .env 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/.npmignore -------------------------------------------------------------------------------- /.versionrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/.versionrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /DEMO_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/DEMO_TEMPLATE.md -------------------------------------------------------------------------------- /GENERATOR_DOC.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/GENERATOR_DOC.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/README.md -------------------------------------------------------------------------------- /api/Global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/Global.d.ts -------------------------------------------------------------------------------- /api/Joplin.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/Joplin.d.ts -------------------------------------------------------------------------------- /api/JoplinClipboard.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinClipboard.d.ts -------------------------------------------------------------------------------- /api/JoplinCommands.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinCommands.d.ts -------------------------------------------------------------------------------- /api/JoplinContentScripts.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinContentScripts.d.ts -------------------------------------------------------------------------------- /api/JoplinData.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinData.d.ts -------------------------------------------------------------------------------- /api/JoplinFilters.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinFilters.d.ts -------------------------------------------------------------------------------- /api/JoplinImaging.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinImaging.d.ts -------------------------------------------------------------------------------- /api/JoplinInterop.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinInterop.d.ts -------------------------------------------------------------------------------- /api/JoplinPlugins.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinPlugins.d.ts -------------------------------------------------------------------------------- /api/JoplinSettings.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinSettings.d.ts -------------------------------------------------------------------------------- /api/JoplinViews.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinViews.d.ts -------------------------------------------------------------------------------- /api/JoplinViewsDialogs.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinViewsDialogs.d.ts -------------------------------------------------------------------------------- /api/JoplinViewsEditor.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinViewsEditor.d.ts -------------------------------------------------------------------------------- /api/JoplinViewsMenuItems.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinViewsMenuItems.d.ts -------------------------------------------------------------------------------- /api/JoplinViewsMenus.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinViewsMenus.d.ts -------------------------------------------------------------------------------- /api/JoplinViewsNoteList.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinViewsNoteList.d.ts -------------------------------------------------------------------------------- /api/JoplinViewsPanels.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinViewsPanels.d.ts -------------------------------------------------------------------------------- /api/JoplinViewsToolbarButtons.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinViewsToolbarButtons.d.ts -------------------------------------------------------------------------------- /api/JoplinWindow.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinWindow.d.ts -------------------------------------------------------------------------------- /api/JoplinWorkspace.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/JoplinWorkspace.d.ts -------------------------------------------------------------------------------- /api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/index.ts -------------------------------------------------------------------------------- /api/noteListType.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/noteListType.d.ts -------------------------------------------------------------------------------- /api/noteListType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/noteListType.ts -------------------------------------------------------------------------------- /api/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/api/types.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/package.json -------------------------------------------------------------------------------- /plugin.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "extraScripts": [] 3 | } -------------------------------------------------------------------------------- /scripts/announceRelease.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/scripts/announceRelease.js -------------------------------------------------------------------------------- /src/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/actions.ts -------------------------------------------------------------------------------- /src/helpers/case.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/case.ts -------------------------------------------------------------------------------- /src/helpers/compare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/compare.ts -------------------------------------------------------------------------------- /src/helpers/condition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/condition.ts -------------------------------------------------------------------------------- /src/helpers/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/context.ts -------------------------------------------------------------------------------- /src/helpers/custom_datetime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/custom_datetime.ts -------------------------------------------------------------------------------- /src/helpers/datetime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/datetime.ts -------------------------------------------------------------------------------- /src/helpers/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/helper.ts -------------------------------------------------------------------------------- /src/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/index.ts -------------------------------------------------------------------------------- /src/helpers/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/math.ts -------------------------------------------------------------------------------- /src/helpers/repeat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/repeat.ts -------------------------------------------------------------------------------- /src/helpers/utils/attributes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/helpers/utils/attributes.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/legacyTemplates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/legacyTemplates.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/manifest.json -------------------------------------------------------------------------------- /src/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/parser.ts -------------------------------------------------------------------------------- /src/settings/applyTagsWhileInserting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/applyTagsWhileInserting.ts -------------------------------------------------------------------------------- /src/settings/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/base.ts -------------------------------------------------------------------------------- /src/settings/defaultNoteTemplateId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/defaultNoteTemplateId.ts -------------------------------------------------------------------------------- /src/settings/defaultTemplatesConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/defaultTemplatesConfig.ts -------------------------------------------------------------------------------- /src/settings/defaultTodoTemplateId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/defaultTodoTemplateId.ts -------------------------------------------------------------------------------- /src/settings/global/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/global/base.ts -------------------------------------------------------------------------------- /src/settings/global/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/global/index.ts -------------------------------------------------------------------------------- /src/settings/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/index.ts -------------------------------------------------------------------------------- /src/settings/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/registry.ts -------------------------------------------------------------------------------- /src/settings/templatesSource.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/settings/templatesSource.ts -------------------------------------------------------------------------------- /src/utils/dataApi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/utils/dataApi.ts -------------------------------------------------------------------------------- /src/utils/dateAndTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/utils/dateAndTime.ts -------------------------------------------------------------------------------- /src/utils/defaultTemplates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/utils/defaultTemplates.ts -------------------------------------------------------------------------------- /src/utils/folders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/utils/folders.ts -------------------------------------------------------------------------------- /src/utils/promises.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/utils/promises.ts -------------------------------------------------------------------------------- /src/utils/tags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/utils/tags.ts -------------------------------------------------------------------------------- /src/utils/templates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/utils/templates.ts -------------------------------------------------------------------------------- /src/utils/typescript.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/utils/typescript.ts -------------------------------------------------------------------------------- /src/variables/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/parser.ts -------------------------------------------------------------------------------- /src/variables/types/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/types/base.ts -------------------------------------------------------------------------------- /src/variables/types/boolean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/types/boolean.ts -------------------------------------------------------------------------------- /src/variables/types/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/types/date.ts -------------------------------------------------------------------------------- /src/variables/types/enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/types/enum.ts -------------------------------------------------------------------------------- /src/variables/types/invalid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/types/invalid.ts -------------------------------------------------------------------------------- /src/variables/types/number.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/types/number.ts -------------------------------------------------------------------------------- /src/variables/types/text.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/types/text.ts -------------------------------------------------------------------------------- /src/variables/types/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/variables/types/time.ts -------------------------------------------------------------------------------- /src/views/commandsPanel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/views/commandsPanel.ts -------------------------------------------------------------------------------- /src/views/defaultTemplates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/views/defaultTemplates.ts -------------------------------------------------------------------------------- /src/views/templateVariables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/views/templateVariables.ts -------------------------------------------------------------------------------- /src/views/webview.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/views/webview.css -------------------------------------------------------------------------------- /src/views/webview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/src/views/webview.js -------------------------------------------------------------------------------- /tests/helpers/utils/attributes.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/tests/helpers/utils/attributes.spec.ts -------------------------------------------------------------------------------- /tests/jest-setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/tests/jest-setup.js -------------------------------------------------------------------------------- /tests/mock-joplin-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/tests/mock-joplin-api.ts -------------------------------------------------------------------------------- /tests/parser.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/tests/parser.spec.ts -------------------------------------------------------------------------------- /tests/utils/dateAndTime.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/tests/utils/dateAndTime.spec.ts -------------------------------------------------------------------------------- /tests/utils/templates.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/tests/utils/templates.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joplin/plugin-templates/HEAD/webpack.config.js --------------------------------------------------------------------------------