mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[PR #716] [MERGED] Add attachment rendering in PDF and HTML #863
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#863
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/716
Author: @Komediruzecki
Created: 12/11/2020
Status: ✅ Merged
Merged: 12/17/2020
Merged by: @Rokt33r
Base:
master← Head:feature/add-image-support-for-exports📝 Commits (2)
a8ba2d5Add attachment rendering in PDF and HTMLcb0d4d5Fix arrow functions and downloadBlob📊 Changes
2 files changed (+147 additions, -11 deletions)
View changed files
📝
src/components/organisms/NotePageToolbar.tsx(+16 -0)📝
src/lib/exports.ts(+131 -11)📄 Description
Add attachment rendering in PDF and HTML
<img src='id'>with valid note image idHow it works:
Users can export the PDF and HTML and any image link attached to document which renders well in markdown preview should be exported inside downloaded PDF and HTML (see more details in commit description).
How it looks:
- md:
- result: PDF & HTML
Test:
Test invalid attachements exporting, error message, see below:

Error Handling:
If attachment cannot be found, it is skipped and error message is shown to the user. The exporting continues with all valid attachments.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.