mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-30 11:25:46 +00:00
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
40 lines
534 B
Markdown
40 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
|
|
```
|