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

支持 markmap #1341

Merged
merged 1 commit into from
Dec 21, 2022
Merged

支持 markmap #1341

merged 1 commit into from
Dec 21, 2022

Conversation

Kuaizr
Copy link
Contributor

@Kuaizr Kuaizr commented Dec 20, 2022

支持markmap
效果如下
1671552713013

@Vanessa219 Vanessa219 merged commit 7e3d69b into Vanessa219:dev Dec 21, 2022
@Vanessa219 Vanessa219 self-requested a review December 21, 2022 03:02
@Vanessa219 Vanessa219 added this to the 3.9 milestone Dec 21, 2022
@Vanessa219 Vanessa219 changed the title 添加了markmap的支持 支持 markmap Dec 21, 2022
@andyqiqi
Copy link

引入后为什么不显示呢

@Vanessa219
Copy link
Owner

检查一下版本

@andyqiqi
Copy link

andyqiqi commented Sep 1, 2023

代码用的最新版 3.9.5
https://ld246.com/guide/markdown demo中也不可以呢,是我写的不对吗,不出现预览的导图
image

@andyqiqi
Copy link

andyqiqi commented Sep 1, 2023

需要有别的配置吗?从相关文档没有找到相关的说明

@Vanessa219
Copy link
Owner

最新版本是 3.9.5

@Vanessa219
Copy link
Owner

那个不是最新版本
image

@andyqiqi
Copy link

andyqiqi commented Sep 1, 2023

项目中引入的3.9.5也不行呢

@andyqiqi
Copy link

andyqiqi commented Sep 1, 2023

这个功能看changelog 3.9.0就发布了吧

@andyqiqi
Copy link

andyqiqi commented Sep 1, 2023

image 这个是我的截图,是不是有什么需要配置?

@Vanessa219
Copy link
Owner

你本地启动起来看看,我这里是 OK 的

image

@andyqiqi
Copy link

andyqiqi commented Sep 13, 2023

通过查看日志源码中配置的https://unpkg.com/[email protected]/src/js/markmap/markmap.min.js 地址请求404。
image

手动替换为https://unpkg.com/[email protected]/dist/js/markmap/markmap.min.js 可以正常显示

image

@Vanessa219 Vanessa219 changed the title 支持 markmap markmap 生产环境路径错误 Sep 13, 2023
@Vanessa219 Vanessa219 changed the title markmap 生产环境路径错误 支持 markmap Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants