我知道编辑这个网站吗?

引文

可以引用的来源有两种:

include citation 引用出版物  
include testimonial 插入 person 的个人引言

引用出版物

citation include 用于引用出版物。

DOI 引用

代码

{% include citation doi='10.1038/514550a' %}

结果

引文样式

默认的引文风格是 APA,但也支持哈佛和温哥华风格:

代码

{% include citation doi='10.1038/514550a' style='harvard1' %}

结果

代码

{% include citation doi='10.1038/514550a' style='vancouver' %}

结果

All of these features are driven by the citation-js library, which is very powerful, even supporting your own custom CSL template, if you having extra time burning a hole in your continuum.

通过 wiki 页面 URL 引用

代码

{% include citation id="plugins/3d-viewer" %}

结果

使用的 DOI 是从给定 wiki 页面 URL 的前面提取的。

💡

如果您想引用与当前页面相关的出版物,您 可以简单地写{% include citation %},没有 参数,并且 DOI 将从顶部的前面的内容中提取。

多次引用

某些 wiki 页面有多个与其关联的出版物。 在这种情况下,所有引用将显示在列表中:

感言

testimonial include 用于引用个人。可用字段:

来自 this list 的任何用户
报价 将显示的文本  
来源 原始报价的链接  

以下液体代码:

{% include testimonial person='ctrueden'
  quote='ON VACATION UNTIL OCTOBER 5. For real this time!'
  source='https://forum.image.sc/t/42450' %}

生成此处显示的推荐。

创建脚注

在你的文档中

使用 kramdown syntax 在您的文档中按编号引用脚注。

Regardless of where the liquid reference appears in your document, footnote text will always be at the bottom.

在你的引文中

在第 include 中指定脚注编号。

以下降价和流动代码:

This is a reference[^1].

{% include citation fn=1 doi='10.1371/journal.pone.0038011' %}

产生:

这是参考资料1