【问题标题】:Block quote in bookdown/rmarkdown footnotes在 bookdown/rmarkdown 脚注中阻止引用
【发布时间】:2019-08-08 15:42:27
【问题描述】:

我写的是thesisdown(基于bookdown)。我的一个脚注包含一个相当长的引用,^[footnote text] 不起作用,因为,

如果我使用

hey^[as he says:
> some quotes
]

在脚注中给出“如他所说:> 一些引号”,如果我这样写:

hey^[

as he says:
> some quotes

]

或者这个:

hey^[
as he says:

> some quotes
]

它将其解释为正文中的普通文本,而不是脚注。

我该怎么做?提前致谢。

【问题讨论】:

    标签: r-markdown bookdown


    【解决方案1】:

    对于包含多个段落的脚注,您应该使用regular footnote syntax。在你的情况下:

    hey[^1]
    
    [^1]: as he says:
    
        > some quotes
    
        regular text
    

    注意以下段落的缩进有四个空格。

    【讨论】:

      猜你喜欢
      • 2022-01-20
      • 1970-01-01
      • 2021-05-19
      • 2018-02-17
      • 1970-01-01
      • 2021-11-06
      • 1970-01-01
      • 2021-11-28
      • 2020-01-05
      相关资源
      最近更新 更多