Hello,
Long-time ST user, first-time topic author…
I just encountered and submitted a syntax highlighting issue with a plugin (not my own). I want to offer a PR to the owner of this repo. Secondarily, I want to learn more about developing plugins for ST.
For context: This plugin includes syntax highlighting for Quarto Markdown files (.qmd
). The issue seemingly stems from applying Markdown’s typical syntax rules—more specifically, the one that says underscores should be balanced on either side of the text the user intends to emphasize/italicize—within the scope of an {{< include >}}
shortcode (see Includes section of Quarto’s Authoring guide).
I suspect a fix would something like "don’t apply any of these rules in a {{< ... >}}
scope.