Skip to content

Instantly share code, notes, and snippets.

@Aetherinox
Last active March 5, 2024 14:23
Show Gist options
  • Save Aetherinox/c0b3bab4d5b71fb3876a41d88a380201 to your computer and use it in GitHub Desktop.
Save Aetherinox/c0b3bab4d5b71fb3876a41d88a380201 to your computer and use it in GitHub Desktop.
Obsidian Test
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