mkdocs-bibtex插件无法渲染含句点(.)的引用键问题求助
问题:mkdocs-bibtex无法识别含句点(.)的引用键
使用mkdocs-bibtex插件构建mkdocs站点时,若引用键中包含句点(.),对应的引用条目无法被识别。通过最小可复现示例(MWE)验证了该问题:按指定目录结构搭建站点并执行mkdocs serve命令后,浏览器仅能正确渲染不含句点的引用键,带句点的引用无法正常显示。
最小可复现示例(MWE)
站点结构
- MWE
- docs
- index.md
- mkdocs.yml
- mwe.bib
- docs
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
相关产品推荐
相关产品推荐

