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
@@ -1,7 +1,7 @@
|
||||
// Universal Pandoc wrapper for all Typst templates
|
||||
// This wrapper handles Pandoc's variable substitution and passes them to the actual Typst template
|
||||
|
||||
#import "$template_path$": conf
|
||||
#import "$template_path$": conf, email-block
|
||||
|
||||
#show: doc => conf(
|
||||
$if(title)$title: [$title$],$else$title: none,$endif$
|
||||
|
||||
Reference in new issue
Block a user