Closed willbowditch closed 1 year ago
This seems to be caused by the way Pandoc processes tables when converting back to Markdown. It uses a different type of Markdown table than what was originally given and apparently automatically indents tables in that format by 2 spaces (which still produces a table, since it isn't 4 spaces).
Try --to markdown-simple_tables
. That will disable the table format that Pandoc is using and should usually force a fallback to the format you want.
Thanks @gpoore - that has done the trick
I'm having trouble using codebraid to generate a markdown table programatically.
Printing a string which contains markdown, with
.cb-run
, gives a modified version withshow=stdout:raw
. If I setstdout:verbatim
the table appears normally, but then is within a code block.Is this a bug or is there a way to print markdown directly into the document?
Example
With the following codebraid document:
Statements which render markdown are indented:
Just confirming there are no tabs at the start:
Statements verbatim end up in code chunks:
Thanks