fix(write): remove extra newlines after h1
This commit is contained in:
parent
2a4cbc03e2
commit
22ff519a4b
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export const writeLifelog = fromPromise(
|
|||
if (abstract instanceof TFile) {
|
||||
await vault.append(abstract, markdown);
|
||||
} else {
|
||||
const page = `# ${format(start, "YYYY-MM-DD")}\n\n${markdown}`;
|
||||
const page = `# ${format(start, "YYYY-MM-DD")}${markdown}`;
|
||||
await vault.create(`${folder}/${file}`, page);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue