On 2013–04–09 Xenia wrote:
\startmarkdown Right Left Center Default ------- ------ ---------- ------- 12 12 12 12 123 123 123 123 1 1 1 1
Table: Demonstration of simple table syntax. \stopmarkdown
Is there a way to reference this table?
I might get you wrong here, but I think this is a markdown/pandoc issue. Look at the ConTeXt code generated for section references: %%% section.markdown %%%%%%%%%%%%%%%%%%%% Whatever ======== See [section](#whatever) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% section.tex %%%%%%%%%%%%%%%%%%%%%%%%% \section[whatever]{Whatever} See \in{section}{}[whatever] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Now compare this with the code generated for tables on the other hand: %%% table.markdown %%%%%%%%%%%%%%%%%%%%%% Right Left Center Default ------- ------ ---------- ------- 12 12 12 12 123 123 123 123 1 1 1 1 Table: Caption See [table](#caption) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% table.tex %%%%%%%%%%%%%%%%%%%%%%%%%%% \placetable[here]{Caption} \starttable[|r|l|c|l|] \HL \NC Right \NC Left \NC Center \NC Default \NC\AR \HL \NC 12 \NC 12 \NC 12 \NC 12 \NC\AR \NC 123 \NC 123 \NC 123 \NC 123 \NC\AR \NC 1 \NC 1 \NC 1 \NC 1 \NC\AR \HL \stoptable See \in{table}{}[caption] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% As you can see, no reference is created. I don't even know if references are supported in markdown in the same way section references are. If this is actually supposed to work, then I assume a bug in the pandoc context output filter. Marco