Discourse Meta
Unexpected formatting in triple-tick code blocks
Product Support
ganncamp
(G Ann Campbell)
March 7, 2025, 12:34pm
5
But why would formatting
ever
be applied in a code block?
show post in topic
Related topics
Topic
Replies
Views
Activity
Code blocks not working correctly?
Bug
13
2230
December 11, 2017
Default code formatting language varies unexpectedly
Bug
2
1680
February 13, 2018
Fenced code block is formatting part of it with italics
Product Support
3
474
March 4, 2023
Fenced code block with lang hint breaks subsequent formatting
Bug
markdown-it-review
2
1374
December 9, 2016
Automatic highlighting fails for some fenced code blocks
Bug
fixed
,
bug
8
281
July 29, 2026