Override four space code highlights in markdown?

The markdown in my article has:

### Code block indented with four spaces

    <!DOCTYPE html>
    <html lang="en">
      <meta charset="utf-8">
      <title>Example HTML5 Document</title>

Is it possible to override/hook into the rendering of this type of code block (indented with four spaces)?

I’ve successfully overridden the highlight shortcode and code highlighted with backticks (layouts/_default/_markup/render-codeblock.html and/or layouts/shortcodes/highlight.html), but the four space indented code doesn’t seem to be affected by either of these templates.

You cannot alter the behavior of indented code blocks.

:+1: Thank you!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.