跳到主要内容

article-only

article-only(body)(source)

Content that only appears in article mode.

Unlike article-text, this does NOT replace a preceding slide's content. Use this for standalone sections or inline content that should only exist in the article output (e.g., inline: footnotes, remarks; sections: appendices, methodology, acknowledgements, extended discussion).

Note that slide-breaking shorthands like --- won't be interpreted inside this wrapper and just render as-is. A pagebreak() will still work though.

Parameters

body : content​

The article-only content.

Returns: content