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

请教如何生成EPUB文件 #146

Open
edr1412 opened this issue Mar 19, 2023 · 2 comments
Open

请教如何生成EPUB文件 #146

edr1412 opened this issue Mar 19, 2023 · 2 comments

Comments

@edr1412
Copy link

edr1412 commented Mar 19, 2023

我的尝试:
使用mdbook-epub -s .,修改了SUMMARY.md使其没有报错,基本得到了能看的epub,不过样式还是没有在线版的美观

下载了在线版使用的css,并在book.toml加入了以下内容,但是好像没有什么用

[output.epub]
additional-css = ["./css/general.css", "./css/highlight.css","./css/variables.css","./css/chrome.css","./css/print.css"]
use-default-css = false
no-section-label = true
@wendajiang
Copy link
Member

可以提一个 PR 一起尝试看看

@wizardforcel
Copy link

你把生成的epub解压出来,在浏览器里打开,按f12打开控制台。看看css路径对不对,不对的话会标红。

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

3 participants