Replies: 1 comment
-
I realized tilde fencing is the answer to this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm very sorry for this rudimentary question, but I will write a lot in my blog about fiddling with markdown in different contexts, and that means I have to have fenced code blocks that contain triple backtick code block fences inside of them. One example is showing output from LLM chats and much of the responses are given in markdown and thus contain fenced code blocks. So, I need to be able to insert sequences of triple backticks inside fenced code blocks and have them render properly.
I know I can emit backticks inside of inline code by using pairs of backticks and also inserting spaces on the inside, and various tricks like that, but it seems there are no tricks like that for triple backticks? I hope this isn't the case, but it's not been easy to search for this functionality.
When I put backslashes to escape backticks inside fenced code blocks the backslashes render out, so this is not good.
Beta Was this translation helpful? Give feedback.
All reactions