mirror of
https://github.com/bramses/bramses-highly-opinionated-vault-2023.git
synced 2025-02-26 07:53:55 +00:00
vault backup: 2022-12-09 23:31:44
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = async function createProject(params) {
|
||||
// // Create a new file in the new folder
|
||||
const newFile = await params.app.vault.create(
|
||||
`${absolutePath}/${userInput}.md`,
|
||||
`> [!info]\n> Project Description Here\n\n`
|
||||
`> [!info]\n> Project Description Here\n\n%% Waypoint %%\n\n`
|
||||
);
|
||||
|
||||
// // Create a scratchpad file in the new folder
|
||||
@@ -36,10 +36,10 @@ module.exports = async function createProject(params) {
|
||||
|
||||
if (settings.includes("Add Readwise Dataview")) {
|
||||
await params.app.vault.create(
|
||||
`${absolutePath}/Readwise Resources.md`, `# Readwise Resources\n\n\`\`\`dataview
|
||||
`${absolutePath}/Readwise Resources.md`, `\`\`\`dataview
|
||||
list from "Readwise"
|
||||
where project = "${userInput}"
|
||||
\`\`\``
|
||||
where contains(projects, "${userInput}")
|
||||
\`\`\`\n\n`
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user