Merge branch 'master' into develop
This commit is contained in:
1 file changed
+34
-1
@@ -34,7 +34,20 @@ Export Obsidian notes to PDF using the Typst typesetting system. Supports custom
|
||||
- **🔍 Font Discovery**: Automatic system font detection and caching
|
||||
- **🛡️ Security First**: Path validation and sanitization for safe operations
|
||||
- **📐 Professional Layout**: Paper sizes, margins, typography controls, and more
|
||||
- **📧 Email Block SUpport**: Supports the YAML Email Block format introduced by the [Email Block plugin](https://github.com/joleaf/obsidian-email-block-plugin)
|
||||
- **📧 Email Block Support**: Supports the YAML Email Block format introduced by the [Email Block plugin](https://github.com/joleaf/obsidian-email-block-plugin)
|
||||
|
||||
## Why This Plugin?
|
||||
|
||||
This plugin was born from frustration with Obsidian's native PDF export, which simply renders notes using the current Obsidian theme. While functional, this approach lacks the professional typesetting quality needed for serious documents.
|
||||
|
||||
The immediate catalyst came from a practical need: my wife required single-page PDFs – documents where the page grows to accommodate all content without pagination breaks. This format is ideal for digital preservation and viewing, keeping everything in one continuous, scrollable document. The native export couldn't provide this. By leveraging Typst's powerful typesetting engine, this plugin delivers:
|
||||
|
||||
- **Professional Quality**: Properly typeset documents that look publication-ready, not just screenshots of notes
|
||||
- **Flexible Page Sizing**: Create single-page PDFs that expand to fit all content – perfect for digital preservation and continuous reading
|
||||
- **True Separation of Concerns**: Content and styling are properly separated, following best practices in document preparation
|
||||
- **Consistent Output**: Documents that look good by default, without requiring theme tweaking
|
||||
|
||||
This transforms Obsidian from a note-taking tool into a complete document preparation system, bridging the gap between quick notes and professional output.
|
||||
|
||||
## Why Typst?
|
||||
|
||||
@@ -310,6 +323,26 @@ The plugin follows a modular architecture with:
|
||||
- **Security Layer**: Path validation and sanitization
|
||||
- **Progress Tracking**: Real-time feedback with cancellation support
|
||||
|
||||
## Development Philosophy
|
||||
|
||||
This plugin was developed using [vibe coding](https://en.wikipedia.org/wiki/Vibe_coding) techniques with AI assistance, but with crucial safeguards to prevent [AI slop](https://en.wikipedia.org/wiki/AI_slop). Unlike typical vibe coding where code is generated without detailed review, this project employed strict quality control measures:
|
||||
|
||||
### AI-Assisted Development with Human Oversight
|
||||
|
||||
- **Controlled Generation**: While large portions of code were AI-generated, every function was reviewed and validated
|
||||
- **Slop Prevention Tools**: Used specialized tools like `slopwatch` and `vibe-check` to catch and prevent low-quality patterns
|
||||
- **Systematic Review**: All AI suggestions were filtered through domain expertise and architectural consistency checks
|
||||
- **Test-Driven Validation**: Comprehensive testing ensured generated code met production standards
|
||||
|
||||
### Quality Control Measures
|
||||
|
||||
- **Pattern Enforcement**: AI was guided by strict architectural patterns and coding standards
|
||||
- **Memory Management**: Used persistent context tools to maintain consistency across development sessions
|
||||
- **Iterative Refinement**: Code went through multiple review-refactor cycles to eliminate "code smell"
|
||||
- **Human Decision Making**: Critical design decisions and architecture remained under human control
|
||||
|
||||
This approach allowed rapid development while maintaining the code quality expected of a production Obsidian plugin. The result is clean, maintainable code that leverages AI's productivity benefits without sacrificing quality or introducing the technical debt typically associated with pure vibe coding.
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions are welcome.
|
||||
|
||||
Reference in new issue
Block a user