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

多媒体无法正常渲染 #32

Closed
HowieHz opened this issue Mar 26, 2024 · 4 comments
Closed

多媒体无法正常渲染 #32

HowieHz opened this issue Mar 26, 2024 · 4 comments

Comments

@HowieHz
Copy link

HowieHz commented Mar 26, 2024

image

image

image

测试页面:https://howiehz.top/archives/vditor-yang-shi-ce-shi#%E5%A4%9A%E5%AA%92%E4%BD%93

@HowieHz
Copy link
Author

HowieHz commented Mar 26, 2024

过去是能正常渲染的,大概三四个版本之前吧,后面没怎么注意,今天发现又不能渲染了

@justice2001
Copy link
Owner

justice2001 commented Mar 26, 2024

Vditor 给的 Render 方法只能渲染链接的格式,之前版本不太确定,我找时间看一下。

渲染示例:

[V](https://www.bilibili.com/video/BV1WH4y177MZ)

这种格式的是可以渲染的。参见:https://ld246.com/article/1589813914768/comment/1710565574612

@HowieHz
Copy link
Author

HowieHz commented Mar 26, 2024

Vditor 给的 Render 方法只能渲染链接的格式,之前版本不太确定,我找时间看一下。

渲染示例:

[V](https://www.bilibili.com/video/BV1WH4y177MZ)

这种格式的是可以渲染的。参见:https://ld246.com/article/1589813914768/comment/1710565574612

嗯,改为[V](...)了,稍微测试了一下

halo-plugin-vditor,[V](...)渲染,但直接丢链接不渲染
image

当然实际文章渲染出来结果也是一致
image

官方示例直接丢链接可以渲染:https://ld246.com/guide/markdown
image

@justice2001
Copy link
Owner

justice2001 commented Mar 26, 2024

这个官方的示例不知道改了什么配置,它的项目自带的测试页面默认也没渲染,还在试是哪个选项导致的。

截屏2024-03-26 22 16 22

不过根据他的描述,应该是只渲染链接的内容,而且他的渲染实现也是只有链接,没有对文本的描述。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants