use prism-tomorrow.css
This commit is contained in:
@ -0,0 +1,60 @@
|
||||
<script type="text/javascript">foo()</script>
|
||||
<script>
|
||||
"foo bar"
|
||||
</script>
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"script"
|
||||
]],
|
||||
["attr-name", [
|
||||
"type"
|
||||
]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
["punctuation", "\""],
|
||||
"text/javascript",
|
||||
["punctuation", "\""]
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["script", [
|
||||
["function", "foo"],
|
||||
["punctuation", "("],
|
||||
["punctuation", ")"]
|
||||
]],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"script"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"script"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["script", [
|
||||
["string", "\"foo bar\""]
|
||||
]],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"script"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for Javascript usage inside Markup, using <script> tags.
|
Reference in New Issue
Block a user