# 如何由mdx版本制作epub电子书版

**URL:** <https://forum.freemdict.com/t/topic/12635>\
**Category:** 技术交流与词典编修\
**Tags:** 电子书, mdx\
**Created:** [April 30, 2022, 3:08am UTC](https://forum.freemdict.com/t/topic/12635 "2022-04-30T03:08:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Vim](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/vim/32/8408_2.png) [@Vim](https://forum.freemdict.com/u/Vim)\
**Post date:** [April 30, 2022, 3:12am UTC](https://forum.freemdict.com/t/topic/12635/2 "2022-04-30T03:12:29Z")

</div>

说个极简的办法：  
1、使用mdxexport输出txt源文件  
2、直接更改后缀名txt为html  
3、使用 Sigil 之类的工具打包为epub

或者使用noword/MdxConverter从 mdx 字典中抓取所需的关键词，并生成 html 或PDF，之后同上。

- github: [GitHub - noword/MdxConverter: generate a html or pdf or jpg file for specific words through a mdx dirctionary](https://github.com/noword/MdxConverter)
- Freemdict的最新修订版，推荐使用 src: [求助：提取mdx词条转换为HTML/PDF](https://forum.freemdict.com/t/topic/3886)

---

_[View the full topic](https://forum.freemdict.com/t/topic/12635)._
