Commit graph

148 commits

Author SHA1 Message Date
bingryan
60ed673383 Update version [skip ci] 2026-07-02 16:28:50 +00:00
bingryan
ca3d23a9e5 Update CHANGELOG.md [skip ci] 2026-07-02 16:28:50 +00:00
Lamply
71c4c99213
fix: remove encodeURI for image links (#128) 2026-07-03 00:28:23 +08:00
bingryan
4df6f250a6 Update version [skip ci] 2026-03-22 09:16:56 +00:00
bingryan
77ee727364 Update CHANGELOG.md [skip ci] 2026-03-22 09:16:56 +00:00
Nicolas Endredi
8b51e64582
chore: pipe syntax for outgoing links (#125)
* Update OUTGOING_LINK_REGEXP to support pipe syntax

Captures the alias of Obsidian links if it exists. e.g.:
[[My note|A special note]] becomes A special note, if removeOutgoingLinkBrackets is activated.

* fix: update OUTGOING_LINK_REGEXP to capture in group named alias,
inspired from ATTACHMENT_URL_REGEXP
2026-03-22 17:16:28 +08:00
bingryan
f9ccee702f Update version [skip ci] 2026-01-06 04:20:40 +00:00
bingryan
4e55ac929c Update CHANGELOG.md [skip ci] 2026-01-06 04:20:40 +00:00
bingryan
483f5a68c5
fix: use file parameter instead of getActiveFile() for embed processing (#123)
Fixes #95 where embedded markdown files were being missed when dealing
with large documents. The previous code used `getActiveFile()` which
could return undefined or the wrong file during async processing,
especially in batch export scenarios.

Now uses the `file.path` parameter which is the correct file being
exported, ensuring consistent behavior regardless of active file state.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 12:20:11 +08:00
bingryan
c6259fb7f2 Update version [skip ci] 2026-01-03 13:46:48 +00:00
bingryan
2f46e0fb95 Update CHANGELOG.md [skip ci] 2026-01-03 13:46:48 +00:00
bingryan
45829d2f27
fix: preserve code blocks in embedded markdown files (#122)
Previously, embedded content was extracted from rendered HTML which
converted code blocks (like mermaid) to their rendered form. This
made it impossible to preserve the original code block syntax.

Now reads raw markdown directly from source files, preserving all
code blocks in their original format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 21:46:25 +08:00
bingryan
375f99c083 Update version [skip ci] 2026-01-03 05:08:41 +00:00
bingryan
355603522e Update CHANGELOG.md [skip ci] 2026-01-03 05:08:41 +00:00
bingryan
d4129f9db1
fix: resolve attachment export inconsistencies (#108) (#121) 2026-01-03 13:08:14 +08:00
bingryan
e631e1a390 Update version [skip ci] 2026-01-03 01:01:34 +00:00
bingryan
962aeb0b50 Update CHANGELOG.md [skip ci] 2026-01-03 01:01:34 +00:00
bingryan
dd0cce56b7
fix: support percentage sizes in wiki link images (#120) 2026-01-03 09:01:07 +08:00
bingryan
85481dbcfe Update version [skip ci] 2026-01-03 00:44:34 +00:00
bingryan
3055cb231f Update CHANGELOG.md [skip ci] 2026-01-03 00:44:34 +00:00
bingryan
6481f923cc
fix: add inline block embeds (#119)
- Add new setting "Inline Block Embeds" to replace block refs with content
- Fix execution order: process embeds before WikiLinks conversion
- Add getBlockContent() to extract block content using Obsidian API
- Add parseEmbedLink() to parse file path and block reference ID
- Prevent "undefined" output when embed content is not found

Fixes #114
2026-01-03 08:44:08 +08:00
bingryan
35a1029fd3 Update version [skip ci] 2026-01-03 00:20:49 +00:00
bingryan
7f4e9f7652 Update CHANGELOG.md [skip ci] 2026-01-03 00:20:49 +00:00
bingryan
3414022d8c
fix: prevent undefined when embed content not loaded (#118)
When exporting notes with embedded content, if the embed map doesn't
contain a corresponding key (due to async loading timing), the replace
operation would insert the string "undefined" into the exported content.

This fix adds a check to only replace when the embed content exists,
otherwise preserving the original ![[...]] marker.

Fixes #116

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 08:20:24 +08:00
bingryan
9f39eee098 Update version [skip ci] 2026-01-02 16:06:54 +00:00
bingryan
78c9ea8e95 Update CHANGELOG.md [skip ci] 2026-01-02 16:06:54 +00:00
bingryan
b51e3dd808
feat: add tag-based export functionality (#117) 2026-01-03 00:06:27 +08:00
bingryan
f83877b9ea Update version [skip ci] 2025-12-23 16:11:45 +00:00
bingryan
90e813613b Update CHANGELOG.md [skip ci] 2025-12-23 16:11:45 +00:00
Jonathan
b9e483e152
feat: add resolvePathVariables (#115) 2025-12-24 00:11:16 +08:00
bingryan
2f83e4275e Update version [skip ci] 2025-09-07 05:59:07 +00:00
bingryan
3225276fe7 Update CHANGELOG.md [skip ci] 2025-09-07 05:59:07 +00:00
bingryan
595eb1f482
feat: add export to text (#110) 2025-09-07 13:58:43 +08:00
bingryan
dece75da08 Update version [skip ci] 2025-06-15 08:47:39 +00:00
bingryan
74031f9946 Update CHANGELOG.md [skip ci] 2025-06-15 08:47:39 +00:00
bingryan
3eb73c5ccf
refactor: MBED_URL_REGEXP (#104) 2025-06-15 16:47:17 +08:00
bingryan
19bc39d71a Update version [skip ci] 2025-06-15 08:26:34 +00:00
bingryan
ff3f96df19 Update CHANGELOG.md [skip ci] 2025-06-15 08:26:34 +00:00
bingryan
5d15fe2574
chore: add remove meta option (#103)
* chore: add remote meta option
2025-06-15 16:26:08 +08:00
bingryan
7d90c35944 Update version [skip ci] 2025-06-15 07:58:54 +00:00
bingryan
cd9f548d80 Update CHANGELOG.md [skip ci] 2025-06-15 07:58:54 +00:00
bingryan
b602ef30c2
feat: add wikilink to markdown link option (#102) 2025-06-15 15:58:30 +08:00
bingryan
3cd6a676ee
style: indent_style -> space (#101) 2025-06-15 15:40:18 +08:00
bingryan
3ef28d047b Update version [skip ci] 2025-04-10 02:39:49 +00:00
bingryan
4a72dfee50 Update CHANGELOG.md [skip ci] 2025-04-10 02:39:49 +00:00
Leslie Swan
270e5847ba
fix: broken attachment paths within exported markup (#98) 2025-04-10 10:39:24 +08:00
bingryan
d6f3ae8f76 Update version [skip ci] 2025-03-23 20:34:54 +00:00
bingryan
a601df9ab7 Update CHANGELOG.md [skip ci] 2025-03-23 20:34:54 +00:00
Leslie Swan
fdedcbabae
feat: add absolute attachment path setting (#94)
* Added support for absolute attachment paths

* Extended `includeFileName` to support attachment directories

* Simplified attachment directory logic

* Created global OUTPUT_FORMATS enum

Mainly a cosmetic change; did this because "Export to markdown" was really bugging me

* Cleaned up TypeScript errors
2025-03-24 04:34:27 +08:00
bingryan
1f3acf8465 Update version [skip ci] 2024-08-06 14:55:13 +00:00