Brett on 23 Aug, 2018 12:33 PM
If your pasted example is correct, the issue is that the indentation on
the closing fence of the second code block is different from the opening
fence. Outdent the closing fence to the beginning of line to match the
opening and it should work fine.
The code example didn't copy paste very well. My situation is a little more complicated than that as well. We have a main workbook that references a number of included .md files. Opening the included MD files directly shows the code snippets correctly (see new screenshot). Opening the main document, which includes the .md file does not show the code snippet correctly.
Notice it includes the fenced language (bash), has no highlighting, and does not have the line breaks honored.
I included a main.md and textconventions.md file for you to reproduce on your side.
This used to work fine in an older version, and I'm under a bit of a time crunch to export this PDF. For short term, can you provide a link to the version that would have been live back in June so I can roll back?