trilium icon indicating copy to clipboard operation
trilium copied to clipboard

(Bug report) When writing in markdown format, the inserted picture bed link does not display the picture

Open xuguangjian opened this issue 1 year ago • 3 comments

Trilium Version

0.60.4

What operating system are you using?

Windows

What is your setup?

Local (no sync)

Operating System Version

Windows 11 家庭中文版 22H2

Description

When writing in markdown format, the inserted picture bed link does not display the picture, and the locally inserted picture can be displayed normally. When the basic attribute is selected as text or markdown in the code, the image bed link cannot be displayed, but when the makdown file is imported, the image link in it can be displayed

书写使用 markdown 格式时,插入的图床链接不显示图片,本地插入图片可以正常显示。 基本属性选择 文本 或者代码里的 markdown 时 ,图床链接都是显示不出来的,但是导入makdown文件时 里面的图片链接可以显示出来 image

image

Error logs

No response

xuguangjian avatar Aug 04 '23 02:08 xuguangjian

书写使用 markdown格式时,插入的图床链接不显示图片,本地插入图片可以正常显示。 基本属性选择 文本 或者代码里的 markdown 时 ,图床链接都是显示不出来的,但是导入 markdown 文件时 里面的图片链接可以显示出来

xuguangjian avatar Aug 04 '23 02:08 xuguangjian

This is expected. Trilium uses the rich text editor ckeditor5, which does not support markdown. The type of markdown notes you use can only be displayed in the form of source code.

SiriusXT avatar Aug 06 '23 02:08 SiriusXT

You can use 'Open with Custom Program' to write HTML-formatted external links and save them. After returning, you will be able to see the images.

midormeepo avatar Apr 10 '24 03:04 midormeepo