f294acff38
A block of type "abstract" is assumed to define the document's abstract. It is transferred from the main text to the metadata. Closes: #8204
39 lines
534 B
Markdown
39 lines
534 B
Markdown
Include abstract in Org output.
|
|
```
|
|
% 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
|
|
```
|
|
|
|
Parse abstract environment as *abstract* metadata field.
|
|
```
|
|
% pandoc --from=org --to=markdown --standalone
|
|
#+begin_abstract
|
|
|
|
This is an /abstract/.
|
|
|
|
It has multiple paragraphs.
|
|
#+end_abstract
|
|
|
|
Main text
|
|
^D
|
|
---
|
|
abstract: |
|
|
This is an *abstract*.
|
|
|
|
It has multiple paragraphs.
|
|
---
|
|
|
|
Main text
|
|
```
|