Markdown cookbook

1 Markdown通用技巧

1.1 如何在markdown中使用font?

参考文档:https://sspai.com/post/45217

在markdown文档任意地方插入下面的代码:

<head> 
    <script defer src="https://use.fontawesome.com/releases/v5.0.13/js/all.js"></script> 
    <script defer src="https://use.fontawesome.com/releases/v5.0.13/js/v4-shims.js"></script> 
</head> 
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css">

然后使用下列语句插入font:

<i class="fa fa-weixin"></i>

显示:

1.2 如何在markdown中插入脚注?

在正文中插入:

You can create footnotes like this[^footnote].

然后在参考文献地方插入:

[^footnote]: Here is the *text* of the **footnote**.

显示如下:

You can create footnotes like this1.

2 Rmarkdown


  1. Here is the text of the footnote.↩︎

Avatar
Xiaotao Shen
Postdoctoral Research Fellow

Metabolomics, Multi-omics, Bioinformatics, Systems Biology.

Related

Next
Previous
comments powered by Disqus