删除 epub 中的目录

发布于 2025-01-15 11:37:15 字数 180 浏览 6 评论 0原文

我希望删除图片中的红色标记,只显示绿色标记在我的电子书中。有办法吗?

输入图片此处描述

I would like the red mark in the pic to be removed and only the green mark to appear in my ebook. Is there a way?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

安静被遗忘 2025-01-22 11:37:15

这是您想要的代码的示例。您也可以用其他不同的方式来制作它。
如果您在问题中发布代码,它可以帮助其他人理解您想要什么。

<style>
    #myHeadings li {
        display: none;
    }

    #myHeadings li:nth-child(1) {
        display: block;
    }
</style>

<div style="width: 400px; position:absolute; margin: auto; padding: 10px;">
    <Ol id="myHeadings">
        <li>Chapter 1. The princess i reased with my own hands</li>
        <li>Chapter 2. Weakness is there</li>
        <li>Chapter 3. I dont Need a Price</li>
        <li>Chapter 4. Epilogue: Contractor's Smile, Dragon's Defilement</li>
    </Ol>
</div>

Here is an example of the code you want. You can make it in other different ways too.
If you post your code in your question it helps others to understand what do you want.

<style>
    #myHeadings li {
        display: none;
    }

    #myHeadings li:nth-child(1) {
        display: block;
    }
</style>

<div style="width: 400px; position:absolute; margin: auto; padding: 10px;">
    <Ol id="myHeadings">
        <li>Chapter 1. The princess i reased with my own hands</li>
        <li>Chapter 2. Weakness is there</li>
        <li>Chapter 3. I dont Need a Price</li>
        <li>Chapter 4. Epilogue: Contractor's Smile, Dragon's Defilement</li>
    </Ol>
</div>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文