【问题标题】:Customized hyperlinks for markdown-bibtex to html conversion using Pandoc使用 Pandoc 将 markdown-bibtex 转换为 html 的自定义超链接
【发布时间】:2017-12-13 15:25:25
【问题描述】:

我使用以下样式将我的参考书目从 markdown 中的 bibtex 文件导入并从那里导入到 html/pdf:

 ---
 bibliography: test.bib
 nocite: '@*'
 ...

 # Biliography

之后我运行:

pandoc test.md -o test.html --bibligraphy test.bib --csl=test.csl

但目前围兜条目转换为 html 后的 url 显示为:

 <a href="www.test.com/test.pdf">www.test.com/test.pdf</a>

我不知道如何将其更改为:

 <a href="www.test.com/test.pdf">test file!</a>

我可以通过触摸 csl 文件来操作 prefix 和 suffic,但无法更改超链接名称。任何帮助表示赞赏。

【问题讨论】:

    标签: html pandoc bibtex biblatex csl


    【解决方案1】:

    恐怕这个问题的答案是不可能的。 CSL 只是不允许您在字符串上设置超链接,而且由于 CSL 是 pandoc 依赖于书目的,所以没有办法做到这一点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-04-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-05-26
      • 2021-07-15
      • 2019-04-23
      • 1970-01-01
      相关资源
      最近更新 更多