mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 13:15:51 +00:00
52 lines
721 B
Markdown
52 lines
721 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
|
|
```
|
|
|
|
Uppercase ABSTRACT environment is not moved to metadata.
|
|
```
|
|
% pandoc --from=org --to=markdown --standalone
|
|
#+BEGIN_ABSTRACT
|
|
Some text.
|
|
#+END_ABSTRACT
|
|
^D
|
|
::: ABSTRACT
|
|
Some text.
|
|
:::
|
|
```
|