diff --git a/src/ui/tpm-template-md.tsx b/src/ui/tpm-template-md.tsx index ab38996..64f6557 100644 --- a/src/ui/tpm-template-md.tsx +++ b/src/ui/tpm-template-md.tsx @@ -2,12 +2,15 @@ import {App, Component, MarkdownRenderer} from "obsidian"; import React from "react"; import {HtmlStringComponent} from "./react-view/view-template/html-string-component"; -export const templateMd = `# Workflows +export const templateMd = `--- +tpm_project_root: Project Template +--- +# Workflows A workflow definition is a **task** with either #tpm/workflow_type/chain or #tpm/workflow_type/checkbox. These are valid workflows. -- [ ] write_scripts #tpm/workflow_type/chain #tpm/step/write #tpm/step/revise #tpm/step/export +- [ ] write_scripts #tpm/workflow_type/chain #tpm/step/write #tpm/step/revise #tpm/step/export - [ ] card_design #tpm/workflow_type/checkbox #tpm/step/data #tpm/step/effect #tpm/step/art - [ ] implementation #tpm/workflow_type/checkbox #tpm/step/impl #tpm/step/test @@ -37,9 +40,24 @@ This is not a valid task, because it has indentation after a non-list item. - A list item \t- [ ] A valid task under a list item #tpm/workflow/card_design #tpm/step/data #tpm/step/effect + + +# Projects +This page defines a project called **Project Template** using \`tpm_project_root\`. It makes this folder a project folder. + +You can also use \`tpm_project\`. It defines a file-scope project. + +This is a task and a workflow in **TagDefinedProject**, defined with a tag. + +- [ ] email #tpm/workflow_type/checkbox #tpm/step/done #tpm/project/TagDefinedProject +- [ ] write chapter 1 #tpm/workflow/write_scripts #tpm/tag/prj_book #tpm/project/TagDefinedProject + +This is a task in **TagDefinedProject**'s subproject. + +- [ ] respond to the editor #tpm/workflow/email #tpm/tag/prj_book #tpm/project/TagDefinedProject/communication ` -const templateHtmlString = `
write (1) | revise (0) | export (0) | data (1) | effect (1) | art (0) |
---|