Merge pull request #2687 from jackyzha0/dev-mode/obsidian-template-folding

feat(templates): the obsidian template folds headings and lists; obsidian-flavored-markdown 2.4.0, og-image 1.1.2
This commit is contained in:
Emile Bangma authored and GitHub committed 2026-11-26 01:31:16 +01:00
commit 52f7895ea6
5 files changed
+26 -14

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@jackyzha0/quartz": patch
---
@quartz-community/obsidian-flavored-markdown 2.4.0 (Obsidian's block wrappers, heading and list folding, missing-attachment embeds, Pele diagrams) and @quartz-community/og-image 1.1.2 (no build failure on emoji variants such as the footnote back-link `↩︎`).
+5
View File
@@ -0,0 +1,5 @@
---
"@jackyzha0/quartz": patch
---
The `obsidian` template folds headings and lists (obsidian-flavored-markdown's `foldHeadings` and `foldLists`), as Obsidian does by default.
+12 -12
View File
@@ -38,8 +38,8 @@
"@quartz-community/hard-line-breaks": "^1.1.0",
"@quartz-community/latex": "^1.0.2",
"@quartz-community/note-properties": "^1.1.4",
"@quartz-community/obsidian-flavored-markdown": "^2.2.0",
"@quartz-community/og-image": "^1.1.1",
"@quartz-community/obsidian-flavored-markdown": "^2.4.0",
"@quartz-community/og-image": "^1.1.2",
"@quartz-community/ox-hugo": "^1.0.1",
"@quartz-community/page-title": "^1.0.2",
"@quartz-community/reader-mode": "^1.0.2",
@@ -2828,12 +2828,12 @@
}
},
"node_modules/@quartz-community/obsidian-flavored-markdown": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/@quartz-community/obsidian-flavored-markdown/-/obsidian-flavored-markdown-2.3.1.tgz",
"integrity": "sha512-lQucQG1Cm0KrjRQJfaSf0Ud5ugpnLC8ZG5e5cTFrysu2DVkLeS6ks0c0gXXtc6iK1OyZ49Bzug4HkNKZb6AwHQ==",
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/@quartz-community/obsidian-flavored-markdown/-/obsidian-flavored-markdown-2.4.0.tgz",
"integrity": "sha512-AfEQ8bWRcI8rwmk7sezBpOpSQOHEcEcBbi012mwAsW7k+XiSzU2nEEr009dtnCAiKGzIdN3CKIARZMuHr1fpvQ==",
"license": "MIT",
"dependencies": {
"@quartz-community/rehype-obsidian": "^1.4.0",
"@quartz-community/rehype-obsidian": "^1.5.0",
"@quartz-community/remark-obsidian": "^2.2.1",
"@quartz-community/types": "^1.1.0",
"@quartz-community/utils": "^1.2.0",
@@ -2853,9 +2853,9 @@
}
},
"node_modules/@quartz-community/og-image": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@quartz-community/og-image/-/og-image-1.1.1.tgz",
"integrity": "sha512-wZW6TgEFYUMLdQq+tF5v27tCtWySn+mTr6tzSdZTlGwcubBK2SA2E/ue8PwWXJnilfxteCwXGEF37xR1GFHqHg==",
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@quartz-community/og-image/-/og-image-1.1.2.tgz",
"integrity": "sha512-cPIK5zrUJn6mCcesuQ0M6zklxbm4sIZnV9fSiGHuTStT7rcBvlPBUpIhGfa2ZYqjjQptqC+hKw6CUBrwdCeAsw==",
"license": "MIT",
"dependencies": {
"@quartz-community/types": "^1.0.0",
@@ -2970,9 +2970,9 @@
}
},
"node_modules/@quartz-community/rehype-obsidian": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/@quartz-community/rehype-obsidian/-/rehype-obsidian-1.4.0.tgz",
"integrity": "sha512-o7kiFfMNsPOuV0s56gSqN+Syam0W5Sbd1taZsK9W5IpbXaFw6RiMY9aD/hIVGtKm5G2sB21v7Z0Lda76qENyKw==",
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@quartz-community/rehype-obsidian/-/rehype-obsidian-1.5.0.tgz",
"integrity": "sha512-/KrsmhRWBWhLDa2cXJAe1MXa8sPTYZbKlUCGu2BDNzCZzUZBmqq819ln+eYwTFlcA7kFQct3fn+9sZp1cDFF5g==",
"license": "MIT",
"engines": {
"node": ">=22"
+2 -2
View File
@@ -68,8 +68,8 @@
"@quartz-community/hard-line-breaks": "^1.1.0",
"@quartz-community/latex": "^1.0.2",
"@quartz-community/note-properties": "^1.1.4",
"@quartz-community/obsidian-flavored-markdown": "^2.2.0",
"@quartz-community/og-image": "^1.1.1",
"@quartz-community/obsidian-flavored-markdown": "^2.4.0",
"@quartz-community/og-image": "^1.1.2",
"@quartz-community/ox-hugo": "^1.0.1",
"@quartz-community/page-title": "^1.0.2",
"@quartz-community/reader-mode": "^1.0.2",
+2
View File
@@ -80,6 +80,8 @@ plugins:
enableYouTubeEmbed: true
enableVideoEmbed: true
enableCheckbox: true
foldHeadings: true
foldLists: true
order: 40
- source: "@quartz-community/github-flavored-markdown"
enabled: true