• I have an (unpleasant) situation in which I have code blocks in one language (R) but they include HTML tags for formatting.
    For example:

    <pre>
    print(paste("The year is", 2010))<em>
    "The year is 2010"</em>
    </pre>

    When activating the plugin it shows the text as is.
    But what I want it to show is:

    <pre>
    print(paste("The year is", 2010))
    "The year is 2010"
    </pre>

    Could you please add this ability to the plugin?!

    • This topic was modified 5 years, 8 months ago by talgalili.
Viewing 1 replies (of 1 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    Hi @talgalili

    that’s the intended behaviour and it’s technically not possible to use html markup within a codeblock. sorry!

    for such use cases, the line highlighting is mostly suitable or a derived language

Viewing 1 replies (of 1 total)

The topic ‘Process HTML code before syntax highlighting?’ is closed to new replies.