Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.35 KB

index.md

File metadata and controls

40 lines (31 loc) · 1.35 KB
title
ZeroKun265's Blog

:luc_twitter: Twittter $\qquad$ :luc_github: Github $\qquad$ :luc_globe: Website $\qquad$ :luc_instagram: Instagram

ZeroKun265's Blog

ZeroKun265 Icon
textAlign=center
===
**ZeroKun265, gamer and developer when i have the time**
**Wanna-be Mechanical Engineer when i don't**

Sometimes I also write:

const folderPath = "articles";

const files = dv.pages(`"${folderPath}"`).sort(page => -page.date);
for (let file of files) {
    // Keep the original file path for the link without converting to lowercase or replacing spaces
    const relativePath = `${file.file.path.replace(".md", ".html")}`;

    // Generate the block with a clickable Markdown link in the header
    dv.paragraph(`> [!example|article] %%%% \n> > [!col]\n> > > [!quote|noicon] %%%%\n> > > ${file.banner}\n> > \n> > > [!col-md-4]\n> > > # [[${file.file.name}]]\n> > > **:luc_clock: ReadTime: ${file.read_time}**\n> > > ${file.summary}\n\n****`);
}