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文档中无法显示图片 #1268

Closed
1 task done
DerekSun96 opened this issue Aug 15, 2019 · 12 comments
Closed
1 task done

导出PDF文档中无法显示图片 #1268

DerekSun96 opened this issue Aug 15, 2019 · 12 comments
Labels
🐤 blocked/need info Need more details about this issue or pull request

Comments

@DerekSun96
Copy link

DerekSun96 commented Aug 15, 2019

版本:v0.15.0

Description

图片都是自动粘帖到md文档中的,marktext会自动保存在它默认的目录下
当导出PDF或者HTML后,打开PDF或HTML发现文档里面所有的图片都显示成了路径,而不是可见的图片

  • Can you reproduce the issue?

Steps to reproduce

  1. [First step]
  2. [Second step]
  3. [and so on...]

Expected behavior:

Actual behavior:

Link to an example: [optional]

Versions

  • Mark Text:
  • Operating system:
@Jocs Jocs added the 🐤 blocked/need info Need more details about this issue or pull request label Sep 29, 2019
@Jocs
Copy link
Member

Jocs commented Oct 2, 2019

请问下有截图吗?你的图片时本地路径还是网络图片?

@xingdaos
Copy link

我也遇到了同样的问题:

  • marktext 版本:v0.15.1
  • 操作系统:windows 10 x 64
  • marktext 截图:
    image
  • marktext 源码截图:
    image
  • 导出 HTML 截图:
    image
  • HTML 源码截图:
    image
  • 导出 pdf 截图:
    image

PS:希望导出的 HTML 可以使用 base64 格式存储图片,方便后期分享
PS:希望可以增加标题序号[toc]功能,格式更显标准
PS:在线更新貌似有问题,试了 n+1 次,均未成功

@fxha
Copy link
Contributor

fxha commented Dec 20, 2019

@Jocs Is this issue still active or can we close it?

@javafun
Copy link

javafun commented Feb 12, 2020

The issue still exists. I tested with the latest martext on windows 10. Both PDF and html export does not render any image at all.

@Jocs
Copy link
Member

Jocs commented Feb 16, 2020

@javafun Can you show us a failed test file with image in it.

@javafun
Copy link

javafun commented Feb 17, 2020

@Jocs

The issue can be easily reproduced with the following steps

  1. Launch marktext app from windows start menu
  2. Use windows 10 snippet tool to capture a screenshot into clipboard
  3. Paste into marktext
  4. Export current document as PDF from File menu

In addition, I captured a video clip to demonstrate this issue
https://vimeo.com/391883646?ref=em-share

Let me know if you have enough information

@Jocs
Copy link
Member

Jocs commented Feb 23, 2020

I opened the link above and found it's not the marktext using video?

@javafun
Copy link

javafun commented Feb 23, 2020

I opened the link above and found it's not the marktext using video?

I don’t know why the link was changed. I’ve updated the link, pls check again

https://vimeo.com/391883646?ref=em-share

@Jocs
Copy link
Member

Jocs commented Feb 23, 2020

@javafun Can you show me the markdown file content after you insert the screenshot.

@javafun
Copy link

javafun commented Feb 24, 2020

@javafun Can you show me the markdown file content after you insert the screenshot.
Hi @Jocs

See screenshot attached

image

@xingdaos
Copy link

xingdaos commented Mar 10, 2020

@Jocs I have update to v0.16.0-rc.3 , but this problem is still exist , this file is the video for the question to appear .
export_html_no_image

@fxha
Copy link
Contributor

fxha commented Jun 6, 2020

Duplicate of #1997.

@fxha fxha closed this as completed Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐤 blocked/need info Need more details about this issue or pull request
Projects
None yet
Development

No branches or pull requests

5 participants