Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

带样式导出 PDF 和 HTML #1201

Closed
roverway opened this issue Jan 20, 2021 · 3 comments
Closed

带样式导出 PDF 和 HTML #1201

roverway opened this issue Jan 20, 2021 · 3 comments
Assignees
Milestone

Comments

@roverway
Copy link

你在什么场景下需要该功能? In what scenarios do you need this function?

导出pdf或html与别人分享,需要保持目前笔记本中设置好的字体、字号、颜色等各种标记样式。

描述最优的解决方案 Describe the optimal solution

严格按照当前思源笔记的主题样式导出

描述候选解决方案 Describe the candidate solution

导出pdf或html可以专门定制样式

其他信息 Other information

@Vanessa219
Copy link
Member

如果选了带背景的主题,pdf 导出的边距依旧是白色,比较难看。如果不使用背景的话,字如果白色的话,将看不清。

HTML 可以考虑

@roverway
Copy link
Author

roverway commented Jan 21, 2021

对于pdf,typora的处理方法比较合适:如果当前主题是浅色背景,按当前主题导出pdf;如果当前主题是深色背景,有如下提示:
image

这样用户可以导出时选择浅色主题或者专门定制一套导出专用主题,最大可能的保证导出样式和笔记内部阅读样式一致。

@Vanessa219
Copy link
Member

收到

@Vanessa219 Vanessa219 self-assigned this Jan 21, 2021
@Vanessa219 Vanessa219 modified the milestones: 0.6.6, 0.6.8 Jan 21, 2021
@88250 88250 changed the title 带样式导出pdf和html 带样式导出 PDF 和 HTML Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants