update components
This commit is contained in:
@@ -12,11 +12,15 @@ Prism.languages.coffeescript = Prism.languages.extend('javascript', {
|
||||
'string': [
|
||||
|
||||
// Strings are multiline
|
||||
/'(?:\\?[^\\])*?'/,
|
||||
{
|
||||
pattern: /'(?:\\?[^\\])*?'/,
|
||||
greedy: true,
|
||||
},
|
||||
|
||||
{
|
||||
// Strings are multiline
|
||||
pattern: /"(?:\\?[^\\])*?"/,
|
||||
greedy: true,
|
||||
inside: {
|
||||
'interpolation': interpolation
|
||||
}
|
||||
@@ -62,10 +66,12 @@ Prism.languages.insertBefore('coffeescript', 'string', {
|
||||
'multiline-string': [
|
||||
{
|
||||
pattern: /'''[\s\S]*?'''/,
|
||||
greedy: true,
|
||||
alias: 'string'
|
||||
},
|
||||
{
|
||||
pattern: /"""[\s\S]*?"""/,
|
||||
greedy: true,
|
||||
alias: 'string',
|
||||
inside: {
|
||||
interpolation: interpolation
|
||||
|
||||
Reference in New Issue
Block a user