Skip to content
Discussion options

You must be logged in to vote

The syntaxes are equivalent, and the first is simply a shorthand for Pandoc's Attr annotations when indicating only classes. Attr annotations include classes, identifiers, and attributes. We often use the second one ourselves because it is more general: if you want to include classes as well as attributes, then you need to use the curly-bracket-and-dot notation for the classes.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@mariashinoto
Comment options

@cscheid
Comment options

@mariashinoto
Comment options

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