native divdiv
element in their internal document AST, which is handled slightly differently.incremental
You can get back the old behaviour with:
$ echo '<div class="incremental">hello</div>' | pandoc -f markdown -t slidy
<div class="slide section level6">
<div>
hello
</div>
</div>
But what you'd probably want to do is also use the native div syntax. See also p
https:
$ echo '<p class="incremental">hello</p>' | pandoc -f markdown -t slidy
<div class="slide section level6">
<p class="incremental">
hello
</p>
</div>
incremental
我想让增量的
$ echo '<div class="foo">hello</div>' | pandoc -f markdown -t slidy
<div class="slide section level6">
<div class="foo">
hello
</div>
</div>
元素,但pandoc是剥离出来的。
的类名。五年前我生成这些幻灯片的时候,这还能用,但现在不行了(pandoc 2.2.1)。 这被认为是一种反模式吗? 我是不是做错了什么?
我想制作递增的div元素,但pandoc却把递增的类名从其中剥离出来: $ echo '。
pandoc -f markdown-native_divs
你好' /pandoc.orgMANUAL.html#incremental-lists。
::: incremental
- Eat spaghetti
- Drink wine
:::