如何使用 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. 输出效果示例

相关推荐
七元权8 小时前
FoundationPose 推理全流程解读:从一帧 RGB-D 到 6D 位姿
论文阅读·深度学习·6d姿态估计
m4Rk_1 天前
【论文阅读】Agent 记忆机制(119):EvoLife——让具身 Agent 把主动问到的答案沉淀为可复用的空间经验
论文阅读·人工智能·学习·开源·github
用户298698530141 天前
Python 将 Markdown 批量转为 HTML:单文件与目录遍历两种实现
python·html·markdown
FinelyYang1 天前
uniapp使用kkfileview在线预览ppt,excel,word,pdf类型文件
pdf·uni-app·powerpoint
WORLDPO92262 天前
QTE-020-01-L/F/C-D-A-K-TR_实物_数据手册PDF_国产替代
pdf
asdzx672 天前
C# 操作 PDF 元数据:从属性写入到字段提取的完整流程
前端·pdf·c#
WORLDPO92262 天前
SFSDT-10/15/20/25/35-28-G-19.69-SR_实物图_数据手册PDF_国产替代
pdf·pcb工艺·pcb
梦想出海-Phoebe2 天前
Gemini新增文件编辑功能:PDF、Word、Excel处理体验分享
pdf·word·excel
开开心心就好2 天前
网页图片批量下载工具,输入链接就保存
服务器·算法·leetcode·支持向量机·pdf·ocr·1024程序员节
树欲静·而风不止3 天前
许愿式编程:我把 Typability 改成了能日常顶替 Typora 的样子
ai·markdown