Highligh Javascript code inside HTML
-
Hello,
can you please explain how to highlight Javsacript code inside HTML code, for example:
<script type="text/javascript"> amzn_assoc_placement = "adunit0"; amzn_assoc_search_bar = "true"; </script> <script src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US"></script>
Also the equal sign in the last script src tag is highlighted as punctuation even it is part of the string (atribute value).
Second question: how can you change the language of a code block?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Highligh Javascript code inside HTML’ is closed to new replies.