You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just under the impression that the non-space version ```shell-session was the canonical form of fenced blocks. I was misled by unforgiving implementation of some markdown librairies. But it seems that, indeed, spaces are allowed between triple-quotes and attributes. I now have to track down that bug on third-party libraries. 😣
Again sorry for the noise and feel free to close that issue. 😅
Here is a collection of fenced code blocks in Markdown:
To normalize the style of their attributes, I ran pandoc:
Notice how each code block header gets normalized to
``` shell-session
, i.e. a triple-quote followed by a space then by the language attribute.I think this is a bug, and I expect the extra space to not be there.
For reference I use the latest pandoc on macOS Big Sur:
The text was updated successfully, but these errors were encountered: