mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Add tests for org tags
These were intended to be part of commit 0cc908519.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Round-tripping tags in org
|
||||
```
|
||||
% pandoc --from org --to org --columns=72
|
||||
* Header with tag :tag:
|
||||
^D
|
||||
* Header with tag :tag:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: header-with-tag
|
||||
:END:
|
||||
```
|
||||
|
||||
Multiple tags
|
||||
```
|
||||
% pandoc --from org-auto_identifiers --to org --columns=78
|
||||
* Header with two tags :first:second:
|
||||
^D
|
||||
* Header with two tags :first:second:
|
||||
```
|
||||
|
||||
Check that long headings work with tags
|
||||
|
||||
```
|
||||
% pandoc --from org-auto_identifiers --to org --columns=40
|
||||
* Header with tag and more words which are not that interesting :tag:
|
||||
^D
|
||||
* Header with tag and more words which are not that interesting :tag:
|
||||
```
|
||||
Reference in New Issue
Block a user