enabling json syntax highligting embedded in html file #4804
Unanswered
kadiryazgan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to create a Monarch configuration file to enable json highligting embedded in an html file. Similar to how
<style>
and<script>
tags are handled. Content inside<data>
should be highlighted as JSON. (I picked<data>
for simplification, I wil replace it<script type="application/json">
when this works)I tried to imitate how <script> and <style> tags are configured. Tried various values for
nextEmbedded
. So far I couldn't make much progress. I'm wondering if I'm on the right track.Here's my config.
Beta Was this translation helpful? Give feedback.
All reactions