Max Chang
Max Chang
maybe u can temporarily use this https://github.com/dante-biase/jar2app :)
> Is it also possible to bundle jre with your tool @MaxChang3 ? That seems to be possible but is not supported currently. Maybe you can create an issue to...
:((( gezzz
JSON options 当前采取的 markmap-vew 版本并不支持。我想取舍一下是直接全部升级到最新的 markmap 还是引入新的 markmap-view 包,只在转换的时候使用 `deriveOptions` 函数转换为 markmapOptions。
先更新了一个 beta 版本,你可以测试一下~ ``` pnpm i hexo-markmap@beta ``` ```yaml hexo_markmap: katex: true prism: true userCDN: d3_js: https://cdn.staticfile.org/d3/6.7.0/d3.min.js hljs_css: https://cdn.staticfile.org/highlight.js/11.8.0/styles/default.min.css katex_css: https://cdn.staticfile.org/KaTeX/0.16.8/katex.min.css JSONOptions: "{'color': ['blue']}" ``` 
markmap-view 的版本更新了,之前的 markmap 的 json 数据可能无法使用。请问你用没有 hexo clean 过?另外使用的 markdown 内容是什么呢?
> 是我的问题,配置选项没写全,现在一切正常了。 「配置选项没写全」指的你是上面的配置么,正常来说留空的配置是会被补全的。我本机也是如上配置没问题。这可能也是一个潜在的 bug。
我这边是切换深色模式后直接就出现了。录了一个视频放下面了。
https://github.com/LiteLoaderQQNT/LiteLoaderQQNT/assets/36927158/1e59b785-1163-4333-be8e-275f9c265fea
尝试添加了一下 ```css .markmap-container div{ font: 300 16px/20px Consolas; /* 根据原始 css 改的 */ } ``` 或者 ```css .markmap-container div{ font-family: Consolas; } ``` 都会导致字体溢出,你那边(比如使用`[NIO](xxxxlinksxxxxx) `这种)会出现这种情况么? 我再研究一下,似乎 markmap 自动分配的宽度是按默认字体算的还是怎么。