-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Usually Pandoc returns the key 'pandoc-api-version' first: ``` >>> echo "a" | pandoc --to=json {"pandoc-api-version":[1,17,0,4],"meta":{},"blocks":[{"t":"Para","c":[{"t":"Str","c":"\"a\""}]}]} ``` But this is not the case in some systems (which ones?): ``` cat pftest.md | pandoc -t json {"blocks":[{"t":"Para","c":[{"t":"Str","c":"From"}... , ],"pandoc-api-version":[1,17,0,4],"meta":{"author":{ .... ``` This workaround should fix that problem, but if the key order is different at other places that might create future issues.
- Loading branch information
1 parent
ec71b72
commit 2686e76
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters