Org template: add abstract from metadata as block of type "abstract"
See #8204.
This commit is contained in:
parent
81e31ee637
commit
90d8205e17
2 changed files with 21 additions and 0 deletions
|
@ -13,6 +13,11 @@ $for(header-includes)$
|
|||
$header-includes$
|
||||
|
||||
$endfor$
|
||||
$if(abstract)$
|
||||
#+begin_abstract
|
||||
$abstract$
|
||||
#+end_abstract
|
||||
$endif$
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
|
||||
|
|
16
test/command/8204.md
Normal file
16
test/command/8204.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
```
|
||||
% pandoc --to=org --standalone
|
||||
---
|
||||
abstract: |
|
||||
This is an *abstract*.
|
||||
|
||||
It has multiple paragraphs.
|
||||
---
|
||||
^D
|
||||
#+begin_abstract
|
||||
This is an /abstract/.
|
||||
|
||||
It has multiple paragraphs.
|
||||
|
||||
#+end_abstract
|
||||
```
|
Loading…
Reference in a new issue