chore: ObsidianFlavoredMarkdown and GitHubFlavoredMarkdown 2.0; lockfile for the released plugins

This commit is contained in:
saberzero1 committed 2026-11-08 15:24:24 +01:00
1 parent b7998bbd2d
commit e4ebd28c0d
3 files changed
+420 -486

No files matched your search

@@ -0,0 +1,12 @@
---
"@jackyzha0/quartz": minor
---
Markdown renders as it does in Obsidian: Quartz now uses ObsidianFlavoredMarkdown 2.0 and GitHubFlavoredMarkdown 2.0.
- **Line breaks changed:** a single line break inside a paragraph now renders as `<br>`, as in Obsidian's default reading view. Set `strictLineBreaks: true` in the ObsidianFlavoredMarkdown options to keep the previous behaviour (a space).
- ObsidianFlavoredMarkdown parses with Obsidian's own parser by default (`preset: "legacy"`). Use `preset: "strict"` for TOML (`+++`) frontmatter or plugins that add their own Markdown syntax.
- Also new: callouts parsed like Obsidian, inline footnotes (`text^[note]`), image sizes on Markdown images (`![alt|300](image.png)`), Mermaid diagrams that follow the theme's colours, an opt-in Pele diagram renderer, and inline tags that only link to tag pages that exist.
- GitHubFlavoredMarkdown now runs before ObsidianFlavoredMarkdown (order 30, then 40), as in the default config. If your config sets `order` for either plugin, keep GitHubFlavoredMarkdown first.
See the plugins' changelogs for details.
+406 -484
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -63,12 +63,12 @@
"@quartz-community/favicon": "^1.0.0",
"@quartz-community/folder-page": "^1.0.0",
"@quartz-community/footer": "^1.0.0",
"@quartz-community/github-flavored-markdown": "^1.0.0",
"@quartz-community/github-flavored-markdown": "^2.0.0",
"@quartz-community/graph": "^1.0.0",
"@quartz-community/hard-line-breaks": "^1.0.0",
"@quartz-community/latex": "^1.0.0",
"@quartz-community/note-properties": "^1.0.0",
"@quartz-community/obsidian-flavored-markdown": "^1.0.0",
"@quartz-community/obsidian-flavored-markdown": "^2.0.0",
"@quartz-community/og-image": "^1.0.0",
"@quartz-community/ox-hugo": "^1.0.0",
"@quartz-community/page-title": "^1.0.0",