Skip to content
Discussion options

You must be logged in to vote

Currently the writer has:

  return $ braces $ "\\externalfigure" <> brackets (literal src') <> dims <> clas

where clas is the first class, in brackets, if it exists, otherwise nothing, and dims are dimension specifiers e.g. height=3in in brackets, if specified, otherwise nothing.

This suggests you could just add a class, and it looks like that works:

% pandoc -t context
![ALT](image.jpg){.full}
\startplacefigure[title={ALT}]
{\externalfigure[image.jpg][full]}
\stopplacefigure

Replies: 1 comment 3 replies

Comment options

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

@massifrg
Comment options

@jgm
Comment options

jgm Mar 26, 2024
Maintainer

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