jellyfish-web/dashboard-ui/bower_components/prism/tests/languages/jade/code_feature.test
2016-02-03 18:00:01 -05:00

36 lines
No EOL
555 B
Text

- if(foo)
p= 'This code is' + ' <escaped>!'
span
!= 'Not escaped'
----------------------------------------------------
[
["punctuation", "-"],
["code", [
["keyword", "if"],
["punctuation", "("],
"foo",
["punctuation", ")"]
]],
["tag", ["p"]],
["punctuation", "="],
["code", [
["string", "'This code is'"],
["operator", "+"],
["string", "' <escaped>!'"]
]],
["tag", ["span"]],
["punctuation", "!="],
["code", [
["string", "'Not escaped'"]
]]
]
----------------------------------------------------
Checks for inline code.