• Hi,

    Me and another dev have been trying to get the Markdown code-blocks blocks to work.

    We’ve been getting some weird random results. The other dev has it installed on his live site and it was completely breaking,

    three back-ticks
    <script>alert(‘test’);</script>
    three back-ticks

    was rendering like

    two back-ticks, single quote
    code treated like if you wrote it in the comments normally without markdown
    three back-ticks

    Then I tested it on a local instal with the jetpack_dev_devug. It worked perfectly.

    Then the other dev did a clean install on a live server. The code would render but without the<pre> tags.

    I also set up a clean install on a live server and got the same results as the other dev’s first live site.

    Sorry about the weird code explanations. Not sure how to show markdown in markdown.
    https://www.ads-software.com/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Random Markdown code-block results’ is closed to new replies.