TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

MdBook – a command line tool to create books with Markdown

184 点作者 peter_d_sherman6 个月前

17 条评论

karteum6 个月前
I am happily experimenting with Typst right now (<a href="https:&#x2F;&#x2F;typst.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;typst.app&#x2F;</a> ), which compiles much faster than LaTeX and with a syntax very similar to md, together with nice support for math, figures and advanced settings.
评论 #42104957 未加载
评论 #42104620 未加载
评论 #42103673 未加载
评论 #42103579 未加载
评论 #42103714 未加载
xvilka6 个月前
Biggest downside of this tool is inability to render PDF or ePub[1]. This is why we recently switched to Quarto[2]. Typst is also a good alternative, already mentioned in other comments.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;mdBook&#x2F;issues&#x2F;815">https:&#x2F;&#x2F;github.com&#x2F;rust-lang&#x2F;mdBook&#x2F;issues&#x2F;815</a><p>[2] <a href="https:&#x2F;&#x2F;quarto.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;quarto.org&#x2F;</a>
评论 #42106364 未加载
kimi6 个月前
If you want to create books, Asciidoctor (for PDF&#x2F;ebook) + Antora (to publish them on the web), are the way to go. Not related, just a happy user who used Asciidoc for the last 20 years to maintain product docs.<p>Why? because Asciidoc&#x2F;tor gives you a lot more:<p>- a syntax with callouts, tables, indexes, comments, notes and everything you may need in a book<p>- macro expansion<p>- a ton of complex diagrams via PlantUML (veeery useful!) that you can keep inline<p>- a ton of output formats, including &quot;real&quot; paper books via Docbook.
cyberax6 个月前
While we&#x27;re on the topic of MD, what&#x27;s the best system for Markdown-based static blogs these days? With good code highlighting, images, colors, etc.
评论 #42104630 未加载
评论 #42102762 未加载
评论 #42103241 未加载
评论 #42102787 未加载
评论 #42102909 未加载
评论 #42102657 未加载
评论 #42104351 未加载
评论 #42105990 未加载
评论 #42104713 未加载
评论 #42105385 未加载
评论 #42114931 未加载
评论 #42104725 未加载
评论 #42102994 未加载
评论 #42106161 未加载
评论 #42112096 未加载
评论 #42105619 未加载
评论 #42103373 未加载
评论 #42102663 未加载
评论 #42103225 未加载
评论 #42105916 未加载
评论 #42103205 未加载
评论 #42104776 未加载
peter_d_sherman6 个月前
Related:<p>GitHub Gist: &quot;Document Conversion&quot;:<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;datacustodian&#x2F;4483fff487a0ef70c7b7604f0106a64e" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;datacustodian&#x2F;4483fff487a0ef70c7b760...</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_document_markup_languages" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;List_of_document_markup_langua...</a><p><a href="https:&#x2F;&#x2F;pandoc.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pandoc.org&#x2F;</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39164002">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39164002</a><p><a href="https:&#x2F;&#x2F;asciidoc.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;asciidoc.org&#x2F;</a>
评论 #42102565 未加载
n8henrie6 个月前
If you have the mdbook-epub plugin, it&#x27;s nice to be able to turn the myriad documentation &quot;books&quot; into actual ebooks that I can read on my kindle.
yndoendo6 个月前
Moved from MD to LaTeX for documentation. Content maybe shared between two or more documents. Was copying and pasting to fix multiple locations for simple spelling errors. Now there is a single LaTex file to edit for all complete documents.<p>Issue is that the file system layout is more like this:<p>&#x2F;Product A&#x2F;images&#x2F;<p>&#x2F;Product A&#x2F;revision.tex<p>&#x2F;Product A&#x2F;instalwin7.tex<p>&#x2F;Product A&#x2F;instalwin10.tex<p>&#x2F;Product A&#x2F;layout.tex<p>&#x2F;Product B&#x2F;layout.tex<p>&#x2F;Commmon&#x2F;images&#x2F;<p>&#x2F;Common&#x2F;companyinfo.tex<p>&#x2F;Common&#x2F;header.tex<p>&#x2F;Win7&#x2F;images<p>&#x2F;Win7&#x2F;access-cmd.tex<p>&#x2F;Win10&#x2F;images<p>&#x2F;Win10&#x2F;access-cmd.tex<p>Where Product A and Product B layout.tex links all LaTex files needed to build a complete document.
andix6 个月前
I used it in a project once. It&#x27;s a really nice and easy solution, but quite hard to extend, if the built in features are not enough.
asicsp6 个月前
I use `mdbook` to provide free online versions of my ebooks (topics include regular expressions, Linux CLI tools and Vim): <a href="https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;scripting_course#ebooks">https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;scripting_course#ebooks</a><p>I chose `mdbook` over `pandoc` mainly because of themes and search provided by default.
cryptos6 个月前
Depending on the content, I would recommend AsciiDoc (and not Markdown) to write a book. Markdown might be a good fit for text-only books like fiction, but AsciiDoc has much more useful formattings for structrured documents like technical or scientific books.
评论 #42106079 未加载
wduquette6 个月前
mdBook is my favorite tool for creating on-line docs. I wouldn&#x27;t use it to create a printed book or a PDF, etc., but quick static documentation in HTML it works quite well. It&#x27;s simple and robust and just works; and most of the limitations are due to Markdown rather than to mdBook.<p>If I could wave a wand and extend it in any way I chose, I&#x27;d want the ability to implement macros (or the equivalent) a la TeX, so as to automate doing fancier formatting in HTML.
antimora6 个月前
Does anyone know a tool that would generate links automatically for types (etc) to Docs.rs. We have a library (Burn) and accompanying book where were references types in many places.
nodesocket6 个月前
Looks nice. I&#x27;ve used MkDocs in the past for <a href="https:&#x2F;&#x2F;baseball-stats.net" rel="nofollow">https:&#x2F;&#x2F;baseball-stats.net</a>.
BillLucky6 个月前
Writing a book using markdown looks very good. I’ll give it a try later if I need it.
gavmor6 个月前
What is a &quot;book&quot;? This seems to be a website.
plandis6 个月前
Has anyone here actually written technical books in LaTex and Markdown that can knowledgeably compare them? How do they compare? I’m biased from university towards LaTex but the MD syntax does seem way simpler.
hasnain996 个月前
typscript is good