Skip to content

Commit

Permalink
insert extra newline between Truths (#206)
Browse files Browse the repository at this point in the history
It's kinda hard to type your own thing in there otherwise.
  • Loading branch information
zkat committed Jun 11, 2024
1 parent 9f9beda commit a8e6243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/truths/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { FolderTextSuggest } from "utils/ui/settings/folder";
export async function generateTruthsCommand(plugin: IronVaultPlugin) {
const truths = [...plugin.datastore.truths.values()];
const text = Handlebars.compile(
`{{#each truths}}\n## {{name}}\n\`\`\`iron-vault-truth\n{{name}}\n\`\`\`\n{{/each}}`,
`{{#each truths}}\n## {{name}}\n\`\`\`iron-vault-truth\n{{name}}\n\`\`\`\n\n{{/each}}`,
)({ truths });
const { fileName, targetFolder }: { fileName: string; targetFolder: string } =
await new Promise((onAccept, onReject) =>
Expand Down

0 comments on commit a8e6243

Please sign in to comment.