From 1d0c6c2541b71f8f31d4023a6a42251318aecb2c Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Wed, 10 Sep 2025 23:03:24 +0200 Subject: [PATCH 1/3] Fixes typo in README Email Block support description Corrects spelling of "Support" in feature description section Improves documentation readability by fixing minor typographical error --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5122193..132952e 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ 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 Typst? From dafa9c2caa02e47493570187b7174e78d50ce18f Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Thu, 11 Sep 2025 09:41:19 +0200 Subject: [PATCH 2/3] Adds development philosophy section to README Documents AI-assisted development approach with emphasis on quality control Explains the methodology behind the plugin's development, highlighting: - Controlled AI code generation - Strict review and validation processes - Tools used to prevent low-quality code - Commitment to maintaining high code standards Details the systematic approach to leveraging AI while preserving code quality and architectural integrity --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 132952e..070e460 100644 --- a/README.md +++ b/README.md @@ -310,6 +310,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. From 7aae2ce63a1fe595861e3288f82d567f6d1e80d2 Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Thu, 11 Sep 2025 09:42:02 +0200 Subject: [PATCH 3/3] Enhances README with plugin motivation and benefits Adds detailed explanation of the plugin's purpose, highlighting key advantages over native Obsidian PDF export Provides insights into the motivation behind creating the plugin, emphasizing: - Professional typesetting quality - Flexible document generation - Separation of content and styling - Continuous reading experience Illustrates how the plugin transforms Obsidian into a more robust document preparation system --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 070e460..b4a802b 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,19 @@ Export Obsidian notes to PDF using the Typst typesetting system. Supports custom - **📐 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) +## 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? Typst offers several advantages over standard PDF export: