mirror of
https://github.com/jackyzha0/quartz
synced 2026-11-27 22:14:40 +01:00
chore: ObsidianFlavoredMarkdown and GitHubFlavoredMarkdown 2.0; lockfile for the released plugins
This commit is contained in:
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 (``), 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.
|
||||
Generated
+406
-484
File diff suppressed because it is too large.
Load diff
+2
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user