aoout / obsidian-epub-importer

Import EPUB files as Markdown.
MIT License
124 stars 2 forks source link

标题解析的结果增加# #56

Open MiSanl opened 6 months ago

MiSanl commented 6 months ago

目前如果将整本书导入为单个文件的话,章节标题好像并没有增加#,导致右侧的大纲为空白。 比如原epub中的html中如果遇到的或<h>标签就添加#,是否考虑改进这一功能呢?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/aoout"><img src="https://avatars.githubusercontent.com/u/60838705?v=4" />aoout</a> commented <strong> 6 months ago</strong> </div> <div class="markdown-body"> <p>请上传对应的.epub文件。 你确定在html代码里有指定这些内容为标题的内容吗?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/MiSanl"><img src="https://avatars.githubusercontent.com/u/156571603?v=4" />MiSanl</a> commented <strong> 6 months ago</strong> </div> <div class="markdown-body"> <p>具体代码我贴到下面图片里了,epub也在下面上传了。 <img src="https://github.com/aoout/obsidian-epub-importer/assets/156571603/afd15639-1d5d-440f-8fad-c653d7e64f78" alt="截图20240502103256" /> epub文件: <a href="https://github.com/aoout/obsidian-epub-importer/files/15183184/Linux.Z-Library.epub.zip">Linux高性能服务器编程 (游双) (Z-Library)epub.zip</a></p> <blockquote> <p>请上传对应的.epub文件。 你确定在html代码里有指定这些内容为标题的内容吗?</p> </blockquote> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>