feat(markdown): add email block support for Obsidian to Typst conversion
- Implement email block detection and parsing in MarkdownPreprocessor - Convert Obsidian email blocks to Typst #email-block() function calls - Add Pandoc raw blocks wrapper for proper Typst code execution - Import email-block function in universal wrapper template - Disable smart quotes with --from markdown-smart flag Fixes email blocks appearing as plain text in PDF exports 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4 files changed
+167
-7
No files matched your search
@@ -57,7 +57,7 @@
|
||||
paper: "a4",
|
||||
margin: (x: 1.5cm, y: 1.5cm),
|
||||
cols: 1,
|
||||
font: ("Concourse OT", "Helvetica Neue", "Arial", "sans-serif"),
|
||||
font: ("Afraty Stencil", "Concourse OT 3", "Helvetica Neue", "Arial", "sans-serif"),
|
||||
fontsize: 11pt,
|
||||
sectionnumbering: "1.",
|
||||
pagenumbering: "1",
|
||||
@@ -110,7 +110,7 @@
|
||||
// Set text properties - Sans-serif for clean look
|
||||
// Use UI-configured font if available, otherwise use template default
|
||||
let body-font = if font != none and type(font) == str {
|
||||
(font, "Concourse OT", "Helvetica Neue", "Arial", "sans-serif")
|
||||
(font, "Afraty Stencil", "Concourse OT 3", "Helvetica Neue", "Arial", "sans-serif")
|
||||
} else {
|
||||
font
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user