You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

mkdocs-bibtex插件无法渲染含句点(.)的引用键问题求助

问题:mkdocs-bibtex无法识别含句点(.)的引用键

使用mkdocs-bibtex插件构建mkdocs站点时,若引用键中包含句点(.),对应的引用条目无法被识别。通过最小可复现示例(MWE)验证了该问题:按指定目录结构搭建站点并执行mkdocs serve命令后,浏览器仅能正确渲染不含句点的引用键,带句点的引用无法正常显示。

最小可复现示例(MWE)

站点结构

  • MWE
    • docs
      • index.md
    • mkdocs.yml
    • mwe.bib

index.md

# Home

Blah blah [@Jarse2023]. 

Woof woof [@Jarse.2023]

mkdocs.yml

site_name: MWE
docs_dir: docs
site_dir: site

plugins: 
  - search
  - bibtex:
      bib_file: mwe.bib

markdown_extensions:
  - footnotes

mwe.bib

@article{Jarse2023,
author = {Jarse, Hugh},
journal = {Beano},
title = {{The width of seats on urban public transport}},
year = {2023}
}
@article{Jarse.2023,
author = {Jarse, Hugh},
journal = {Beano},
title = {{The width of seats on urban public transport}},
year = {2023}
}

内容的提问来源于stack exchange,提问作者Nick Hood

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.02 06:42:46