mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[PR #761] [MERGED] Improve export consistency between HTML and PDF types #882
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#882
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/761
Author: @Komediruzecki
Created: 1/9/2021
Status: ✅ Merged
Merged: 3/20/2021
Merged by: @Rokt33r
Base:
master← Head:feature/improve-export-consistency📝 Commits (1)
9254c9aImprove export consistency between HTML and PDF types📊 Changes
5 files changed (+540 additions, -304 deletions)
View changed files
📝
src/components/organisms/NoteContextView.tsx(+35 -22)📝
src/components/organisms/NotePageToolbar.tsx(+24 -26)📝
src/lib/db/utils.ts(+4 -0)📝
src/lib/exports.ts(+473 -256)📝
webpack.config.ts(+4 -0)📄 Description
Improve export consistency between HTML and PDF types (#754)
Error handling:
Preview:

The export structure as described in #754
HTML rendering of admonitions:

Exported HTML and then printed PDF in Firefox (emojis work):
MarkdownFunctionalityFirefoxRendering.pdf
HTML & Assets:
Markdown Functionality Test.zip
Tests:
Tried exporting with shortcut
ctrl+swith type Markdown, PDF and HTMLTried exporting with export buttons with type Markdown, PDF, and HTML
In electron Linux App (dev)
In electron Linux App production version (appImage)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.