update format for folder notes

This commit is contained in:
Daniil Jave 2022-04-11 14:24:15 +03:00 committed by GitHub
parent fe5b0639de
commit 507a3cee4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,7 +154,7 @@ export default class Waypoint extends Plugin {
let text = `${bullet} **${node.name}**`;
const folderNote = this.app.vault.getAbstractFileByPath(node.path + "/" + node.name + ".md");
if (folderNote instanceof TFile) {
text = `${bullet} **[[${folderNote.basename}]]**`;
text = `${bullet} **[${folderNote.basename}](${folderNote.path})**`;
if (!topLevel) {
if (this.settings.stopScanAtFolderNotes) {
return text;