Last active
March 5, 2024 14:23
-
-
Save Aetherinox/c0b3bab4d5b71fb3876a41d88a380201 to your computer and use it in GitHub Desktop.
Obsidian Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const arrPages = obj.pages; | |
html += "\n<details><summary>" + obj.name + "</summary>\n\n"; | |
Promise.all( arrPages.map( async ( pages ) => | |
{ | |
const page_path = pages.path; | |
const page_name = pages.name; | |
const page_label = pages.label; | |
const file_link = dv.fileLink( page_path, false, page_label ); | |
html += "- " + file_link + "\n"; | |
} | |
html += "</details>\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment