如何使用 Markdown 生成带参考文献的 PDF

  1. 在 Markdown 中加入引用(BibTeX 引用键)

    e.g. [@qi2025systematic].

  2. 准备 .bib 文件(可从 Google Scholar 导出)

    @article{qi2025systematic,
    title={A systematic literature review on designing self-regulated learning using generative artificial intelligence and its future research directions},
    author={Qi, XIA and Liu, Qian and Tlili, Ahmed and Thomas, KF},
    journal={Computers & Education},
    pages={105465},
    year={2025},
    publisher={Elsevier}
    }

  3. 安装 Pandoc 和 LaTeX(MacOS)

    brew install pandoc
    brew install --cask mactex-no-gui

  4. 生成 PDF

    pandoc xxx.md
    --citeproc
    --bibliography=xxx.bib
    --pdf-engine=pdflatex
    -o xxx.pdf

(可选)指定引用格式(如 APA):

复制代码
--csl=apa.csl
  1. 导出 Word 或 HTML

    pandoc xxx.md
    --citeproc
    --bibliography=xxx.bib
    -o xxx.docx # or xxx.html

  2. 输出效果示例

相关推荐
月巴月巴白勺合鸟月半28 分钟前
PDF转图片的另外一种方法
pdf·c#
多则惑少则明30 分钟前
AI大模型综合(四)langchain4j 解析PDF文档
pdf·springboot·大语言模型
m5655bj34 分钟前
使用 C# 对比两个 PDF 文档的差异
pdf·c#·visual studio
Ama_tor39 分钟前
obsidian进阶の插件系列|Templater从小白到菜鸟
javascript·markdown·插件·obsidian
WXDcsdn1 小时前
Windows无法使用Microsoft to PDF输出PDF文件
windows·pdf·电脑·it运维
狐571 小时前
2026-01-19-论文阅读-AgiBot-1
论文阅读·笔记·具身智能
Yqlqlql2 小时前
基于 Python+PySide6 开发的本地复合文件工具:图片转 PDF+PDF 转 Word 双功能
pdf
softshow10264 小时前
html2canvas + jspdf实现页面导出成pdf
开发语言·javascript·pdf
木叶子---4 小时前
pdf生成排查记录与解决方案
java·pdf
开开心心_Every5 小时前
文件数量统计工具:支持多层文件夹数量统计
游戏·微信·pdf·excel·语音识别·swift·lisp