Merge branch 'release/1.2.1' into develop

This commit is contained in:
AlexKucera committed 2025-09-10 23:00:56 +02:00
commit a1d633772b
6 files changed
+24 -6

No files matched your search

+2 -2
View File
@@ -125,7 +125,7 @@ jobs:
## Installation
### Automatic Installation (Community Plugins)
### Automatic Installation (Community Plugins) - Plugin still waiting for approval
Search for "Typst PDF Export" in Obsidian's Community Plugins tab.
### Manual Installation
@@ -138,7 +138,7 @@ jobs:
### Requirements
- [Pandoc](https://pandoc.org/installing.html)
- [Typst](https://typst.app/docs/installation/)
- ImageMagick (optional, for enhanced image processing)
- [ImageMagick](https://imagemagick.org) (for enhanced image processing)
## Files in this release
- `main.js` - Plugin code with embedded templates
+17
View File
@@ -5,6 +5,23 @@ All notable changes to the Obsidian Typst PDF Export plugin will be documented i
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.2.1] - 2025-01-10
### Fixed
- **Horizontal Rule Processing**: Resolved YAML parsing conflicts when documents contain horizontal rules (`---`)
- Added HorizontalRuleProcessor to transform horizontal rules to asterisks (`***`) before Pandoc processing
- Preserved YAML frontmatter by detecting and skipping frontmatter sections during transformation
- Added horizontalrule definition to all Typst templates for Pandoc compatibility
- **TypeScript Build Errors**: Fixed 23 TypeScript errors in 8 files
- Resolved DataAdapter casting issues with proper type assertions
- Fixed template variable type issues by adding undefined to union types
- Ensured type safety while maintaining full functionality
### Changed
- **Code Quality**: Replaced explicit any types for Obsidian plugin review compliance
- Improved type safety throughout the codebase
- Enhanced code maintainability with proper type assertions
## [1.2.0] - 2025-01-10
### Changed
+1 -1
View File
@@ -48,7 +48,7 @@ Typst offers several advantages over standard PDF export:
## Installation
### Method 1: Community Plugin Store (Recommended)
### Method 1: Community Plugin Store (Recommended) - Still waiting on plugin approval
1. Open **Settings** → **Community Plugins**
2. **Disable Safe Mode** if needed
+1 -1
View File
@@ -1,7 +1,7 @@
{
"id": "typst-pdf-export",
"name": "Typst PDF Export",
"version": "1.2.0",
"version": "1.2.1",
"minAppVersion": "1.9.12",
"description": "Exports a note or collection of notes to a pretty Typst PDF.",
"author": "Alexander Kucera",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "obsidian-typst-pdf-export",
"version": "1.2.0",
"version": "1.2.1",
"description": "Exports a note or collection of notes to a pretty Typst PDF.",
"main": "main.js",
"scripts": {
+2 -1
View File
@@ -2,5 +2,6 @@
"1.0.0": "1.9.12",
"1.0.1": "1.9.12",
"1.1.0": "1.9.12",
"1.2.0": "1.9.12"
"1.2.0": "1.9.12",
"1.2.1": "1.9.12"
}