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

部分网页仅显示html text 文件类型的tab, 没有markdown/wikitext #7

Closed
oeyoews opened this issue Nov 3, 2023 · 14 comments
Closed

Comments

@oeyoews
Copy link
Contributor

oeyoews commented Nov 3, 2023

https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/toLocaleString

@linonetwo
Copy link
Contributor

linonetwo commented Dec 17, 2023

应该再点开一次就好了,我也忘了这是为啥,可能是因为 html 没加载完吧,或者 html 2 md 转换失败了

@oeyoews
Copy link
Contributor Author

oeyoews commented Dec 17, 2023

image

好像是 html2md 不支持table 的节点

@oeyoews
Copy link
Contributor Author

oeyoews commented Dec 17, 2023

手动 把table 的节点删除后就可以了

@oeyoews
Copy link
Contributor Author

oeyoews commented Dec 17, 2023

https://unifiedjs.com/learn/recipe/remark-table/ table 需要remark-gfm插件来支持

@oeyoews
Copy link
Contributor Author

oeyoews commented Dec 20, 2023

https://unifiedjs.com/learn/recipe/remark-table/ table 需要remark-gfm插件来支持

image

尝试加上remark-gfm插件后, 打包会出现错误, 是 https://github.com/crxjs/chrome-extension-tools 的问题吗 @linonetwo

@linonetwo
Copy link
Contributor

你咋装的,有 pnpm i 它吗

@oeyoews
Copy link
Contributor Author

oeyoews commented Dec 20, 2023

刚开始是加载到了remark-gfm的, 我刚才看了一下package.json文件里面没有更新上去, 可能是dprint 安装失败导致的

暂时通过手动添加的方式解决了, 测试了一下, 支持table 解析了

@linonetwo
Copy link
Contributor

linonetwo commented Dec 20, 2023

你看看还有啥插件要加的一起加了吧,好了就PR

@oeyoews
Copy link
Contributor Author

oeyoews commented Dec 20, 2023

dprint 的安装问题没解决掉, 应该是网络问题

image

@linonetwo
Copy link
Contributor

给 shell 配个 http proxy 呗,或者看看能不能用阿里源

@oeyoews
Copy link
Contributor Author

oeyoews commented Dec 20, 2023

忘记v2raya 在windows 上不支持透明代理了, 设置了一下终端代理, ok了

@linonetwo
Copy link
Contributor

别忘了 PR

@oeyoews
Copy link
Contributor Author

oeyoews commented Dec 29, 2023

#11 提过了 @linonetwo

linonetwo added a commit that referenced this issue Dec 29, 2023
fix: support table for markdown #7
@oeyoews oeyoews closed this as completed Dec 30, 2023
@linonetwo
Copy link
Contributor

等我修了设置清空的问题发一版。tw5 typed 已经发了一版了

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