Skip to content
Discussion options

You must be logged in to vote

Another markdown comment: starting a paragraph with parentheses causes Pandoc to think you're starting a list:

$ pandoc -f markdown -t native
(a) one element
(b) another element
^D
[ OrderedList
    ( 1 , LowerAlpha , TwoParens )
    [ [ Plain [ Str "an" , Space , Str "item" ] ]
    , [ Plain [ Str "another" , Space , Str "item" ] ]
    ]
]

So that's why you're seeing that weirdness in your first attempt at a caption. To start a paragraph with parentheses in Pandoc, use \(a) (I know, it's weird).

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@betanalpha
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@betanalpha
Comment options

Answer selected by betanalpha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants