On Fri, 29 Jul 2011, Hans Hagen wrote:
In due time we can extend the parser (given that I know the specs).
A small feature is missing in the handling of figures. The markdown syntax[1] states that figures are specified as follows: ![Alt text](/path/to/img.jpg) Pandoc, when translating from markdown to latex/context, treats the alt-text as the figure caption. ConTeXt, just ignores the alt text. I would suggest changing the c_image function to (not completely sure about this) local function c_image(lab,src,tit) return { "\\placemarkdownfigure{", lab, "}", "{", "\\externalfigure[", src, "]", "}" } end where \placemarkdownfigure is a new type of float. I have not used any optional argument to \placemarkdownfigure so that the options can be set using \setupfloat. The default setup could be \setupfloat[markdownfigure][default={here,nonumber}] What do others think? Aditya [1]: http://daringfireball.net/projects/markdown/syntax#img