|
@ -56,7 +56,7 @@ default_rules.fence = function (tokens, idx, options, env, slf) { |
|
|
return highlighted + '\n'; |
|
|
return highlighted + '\n'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// If language exists, inject class gently, without mudofying original token.
|
|
|
// If language exists, inject class gently, without modifying original token.
|
|
|
// May be, one day we will add .clone() for token and simplify this part, but
|
|
|
// May be, one day we will add .clone() for token and simplify this part, but
|
|
|
// now we prefer to keep things local.
|
|
|
// now we prefer to keep things local.
|
|
|
if (info) { |
|
|
if (info) { |
|
|