Commit Graph
35 Commits
Author SHA1 Message Date
AlexKucera df59486b7f Removes gitignored files
removes file that were committed but are actually in gitignore
2025-09-03 18:12:56 +02:00
AlexKucera fd23b0be4b Adds ignore rules for various files
Extends the .gitignore file to exclude various temporary files, cache directories, and project-specific files, preventing them from being tracked by Git. This helps to keep the repository clean and focused on relevant source code.
2025-09-03 18:05:22 +02:00
AlexKucera 908c7c6fe6 Add release workflow 2025-09-03 17:58:52 +02:00
AlexKucera e12fb9d40a Updates minimum Obsidian version
Updates the minimum Obsidian version required to run the plugin
to 1.9.12 and marks the plugin as desktop only.

This ensures compatibility with newer Obsidian APIs and features,
and reflects that the plugin is intended for desktop use only.
2025-09-03 17:54:08 +02:00
AlexKucera 2f7d1feac8 Updates export command labels and descriptions
Refines the naming and descriptions of the export commands
to better reflect their functionality and improve user
understanding. The "Export current note to PDF" command is
now "Export current note(s)", and "Export to PDF with
configuration" is now "Export with configuration…".
2025-09-03 17:22:20 +02:00
AlexKucera 819b127987 Improves export config modal and template vars
Refactors the export configuration modal to provide a better user experience and more accurate default values.

- Removes the batch export feature from the right-click menu.
- Updates the template variables to derive from the settings tab.
- Modifies the reset function in the export config modal to reset to plugin defaults.
- Improves font handling and font size settings in the TypographySection of the export config modal, including slider for font size.
- Enhances default template variable initialization in the ModalState.
2025-09-03 17:04:29 +02:00
AlexKucera 05fd3d5db4 Adds .gitignore for cache directory
Prevents the cache directory from being tracked by Git,
improving repository cleanliness and reducing unnecessary
data in the repository.
2025-09-03 16:57:01 +02:00
AlexKucera 8678e110b9 Standardizes heading font size calculation
Removes configurable heading and small font sizes, and calculates the heading font size based on the body font size to ensure consistency across templates.
2025-09-03 16:56:53 +02:00
AlexKucera 26ddbb7f35 Enhances paper size selection and handling
Updates the paper size selection in settings and modals to use a predefined list of supported sizes, ensuring consistency across the plugin and compatibility with Typst.

It also maps the selected paper size to its Typst equivalent before passing it to the converter, preventing issues with unsupported sizes.
The change also ensures that template validation uses the correct paper sizes.
2025-09-03 14:35:34 +02:00
AlexKucera c749852125 Simplifies margin handling to use centimeters
Updates the margin settings to directly use centimeters, removing unnecessary conversions to points.
This simplifies the configuration and improves accuracy in setting page margins for PDF exports.
The settings tab and modal now accept and display margins in centimeters.
2025-09-03 13:59:35 +02:00
AlexKucera 4b4f0e55ed Uses page-margin variable for page margins
Replaces hardcoded page margin values with the `page-margin`
variable in the default and modern templates. This promotes
consistency and makes it easier to adjust margins globally.
2025-09-03 11:37:09 +02:00
AlexKucera 51f16f3c23 Refactors report template for enhanced layout
Improves the report template's visual structure by reorganizing the title page elements and removing redundant heading counters.

The title page layout is enhanced for better readability and visual appeal. Heading counters were removed from the body as they were redundant. Adds table of contents outline.
2025-09-03 11:32:07 +02:00
AlexKucera fca8f8104d Simplifies font stacks in templates
Refines font configurations in article and modern templates.
Removes redundant "serif" and "sans-serif" generic families from the font stacks.
This change results in cleaner and more efficient font declarations.
2025-09-03 11:23:52 +02:00
AlexKucera 974fe8d7e7 Changes the typst2pdf icon to grey 2025-09-03 11:02:07 +02:00
AlexKucera 9039b90bb5 Removes font cache
Deletes the fonts-cache.json file and adds it to .gitignore.

This ensures that font cache is not tracked in the repository.
2025-09-03 10:47:21 +02:00
AlexKucera 6eedeaace3 Adds export configuration modal sections
Adds sections to the export configuration modal for behavior, page setup, and typography.

These sections allow users to configure export behavior like opening the PDF after export and preserving folder structure, as well as page setup options like page size, orientation, and margins.
Additionally, typography options for font selection and size configuration are included.
Updates default settings for export format and adds default values for new settings.

Removes the old TypographySection file.
2025-09-03 10:16:48 +02:00
AlexKucera 2bec4963b3 Adds initial fonts cache
Adds a JSON file containing a list of font names, a timestamp, and the path to the Typst executable.

This file serves as a cache for available fonts.
2025-09-03 10:16:25 +02:00
AlexKucera 0e89488cf7 Adds folder path autocompletion
Implements a folder suggestion component that provides
autocomplete for existing vault folders in folder path inputs.

This enhances the user experience by making it easier to select
existing folders when specifying file paths.
2025-09-03 10:16:11 +02:00
AlexKucera 346268cd68 Removes unused image files
Deletes several preview images from the repository that are no longer needed.

These images were likely temporary files and are now obsolete.
2025-09-03 10:16:01 +02:00
AlexKucera 16486468d4 Adds a new application icon
Introduces a new SVG icon for the application, enhancing its visual representation.
Includes the corresponding icon design file.
2025-09-03 10:15:54 +02:00
AlexKucera 628b7881c4 Updates ribbon icon to 'type'
Changes the ribbon icon from 'download' to 'type', offering a better visual cue for the Typst export functionality.
2025-09-03 10:15:31 +02:00
AlexKucera 175fad5b4e Removes Afraty Stencil font
Removes the "Afraty Stencil" font from the default font stacks in the templates.

This change ensures a more consistent and reliable font rendering across different systems, as "Afraty Stencil" may not be universally available. The font stacks now prioritize more common and widely supported fonts.
2025-09-01 20:56:20 +02:00
AlexKucera c3e47b9020 Updates default and fallback fonts
Updates the default and fallback fonts in the template.

If a font is specified, it now includes "Concourse OT 3" as a fallback option.
If no font is specified, it now defaults to "Afraty Stencil" with "Concourse OT 3" as a fallback.
2025-09-01 20:47:07 +02:00
AlexKucera 00292f8146 Replaces a built-in template
Updates the list of built-in templates, replacing 'single-page.typ' with 'modern.typ'.
This change reflects a shift in the default template options, offering users a more contemporary template choice.
2025-09-01 12:04:26 +02:00
AlexKucera 59f98a7e0f Adds sharp for image processing
Adds the `sharp` library as a dependency.

This library is used for high-performance image processing and will
be used to optimize images.
2025-09-01 10:48:06 +02:00
AlexKucera e80ccca966 Marks tasks as done in taskmaster
Updates the taskmaster task list to reflect completed tasks.
This ensures that the task statuses are correctly tracked.
2025-08-31 14:45:19 +02:00
AlexKucera 58e0558903 Completes task implementation
Marks several tasks and subtasks as complete, indicating that the implementation phase for these features is finished.
The completed tasks include dependency checking, callout conversion, and pandoc execution enhancements.
2025-08-29 22:52:35 +02:00
AlexKucera 6e1b8f38ad Updates task statuses in tasks.json
Reflects completion of MarkdownPreprocessor tasks.
Specifically, marks the initial class creation,
wikilink parsing, embed parsing, and frontmatter
processing tasks as 'done'. Also, marks callout
parsing as 'in-progress'. Updates the timestamp
for the task list.
2025-08-29 22:26:31 +02:00
AlexKucera 50c47a3cc7 Excludes Serena cache directory from Git tracking
Prevents accidental inclusion of the Serena cache directory in Git repositories.
Removes a specific document symbols cache file.
2025-08-29 17:12:46 +02:00
AlexKucera ca587f8363 Adds initial Serena setup and memories
Initializes project with core configuration files.

Adds memories for code style conventions, codebase structure,
development guidelines, project overview, suggested commands,
task completion checklist, and tech stack.
These memories will help guide development and ensure consistency.
2025-08-29 17:04:31 +02:00
AlexKucera 2f242b4c5e Initializes plugin structure
Sets up the foundational structure for the Obsidian Typst
PDF Export plugin.

Removes sample plugin code and fixes initial TypeScript type
declarations, establishing a clean starting point.

Configures the plugin manifest and settings infrastructure,
laying the groundwork for future development.

Adds task complexity report.
2025-08-29 17:04:15 +02:00
AlexKucera c315d31011 Original PRD
Introduces a product requirements document (PRD) for the Obsidian Typst PDF Export plugin.

The PRD outlines the plugin's goals, core features, technical architecture, user experience, implementation phases, and success metrics. It also covers technical considerations, future enhancements, risks, and appendices detailing Obsidian syntax support, template variables, and CSS to Typst mapping examples.
2025-08-29 16:26:38 +02:00
AlexKucera 08896fde48 Initializes Taskmaster AI project
Sets up the core structure and configuration
files for the Taskmaster AI project, including agents,
commands, configurations, and a project-specific
Claude integration guide.
2025-08-29 16:24:40 +02:00
AlexKucera a3c430183e Initial Setup
Sets up the basic structure for an Obsidian plugin
designed to export notes to Typst-generated PDFs.

This commit includes:
- Initial plugin manifest and configuration.
- Placeholder plugin class and settings.
- Basic .gitignore to exclude common files.
- Claude.md file to guide Claude AI on development

Task Master is imported for dev workflow.
2025-08-29 16:23:28 +02:00
AlexKucera 57c155d7cd Initial commit 2025-08-29 15:27:09 +02:00