Closed b0nes164 closed 1 year ago
Please provide a sample input document, the output when running it through the kramdown binary with your desired options, and the desired output - thanks!
I apologize, I thought that kramdown was the primary parser for GitHub, not just an option, so I guess this issue isn't relevant for you.
But to give a rundown for posterity, the problem is that once you make a LaTeX-like expression with the '$' symbol, code blocks within detail/summaries are no longer colored properly with respect to their language attribute.
Example:
A spoiler
```ruby require 'redcarpet' markdown = Redcarpet.new("Hello World!") puts markdown.to_html ```$1 + 1 = 2$
A spoiler
```ruby require 'redcarpet' markdown = Redcarpet.new("Hello World!") puts markdown.to_html ```Raw markdown:
$1 + 1 = 2$
A spoiler
```ruby require 'redcarpet' markdown = Redcarpet.new("Hello World!") puts markdown.to_html ```