我有一个基本的 MARP 演示文稿,https://github.com/marp-team/marp。我想添加链接来模拟脚注或参考文献。可以吗,导出PDF怎么样?
Some text with source. [1]
Run Code Online (Sandbox Code Playgroud)
“1”应该链接到另一张幻灯片:
1. some description
Run Code Online (Sandbox Code Playgroud)
PS 我没有足够的声誉来marp为这个问题创建标签,如 MARP 自述文件所述。
根据您想要的外观,有几种不同的选项。
请看下面的幻灯片 3 示例。只需创建一个普通的降价链接并将其放在#n文件名后面,其中n= 您想要的幻灯片编号。
对于看起来像脚注的链接,您可以应用幻灯片 2 中的样式。
---
marp: true
theme: gaia
paginate: true
class: invert
---
# Slide 1
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur non maximus tortor, eget rutrum turpis. Suspendisse tortor ex, dictum a turpis a, imperdiet imperdiet nisi.
---
<!-- _footer: "1. www.google.com" -->
# Slide 2
- Footnote link only <sup>1<sup>.
- Footnote and superscript link <sup>[1][1]</sup>.
[1]: https://www.google.com
---
# Slide 3
Inline link [to slide 1](./file-name.html#1)
Run Code Online (Sandbox Code Playgroud)