Attempt to add data-continuation-str="\" with prismjs
This commit is contained in:
parent
2119ef8b08
commit
1f8e90aaaf
@ -45,6 +45,7 @@ class PrismShortcode extends Shortcode
|
|||||||
'cl_filter_output' => $cl_filter_output,
|
'cl_filter_output' => $cl_filter_output,
|
||||||
'ln_start' => $ln_start,
|
'ln_start' => $ln_start,
|
||||||
'highlight_lines' => $highlight_lines,
|
'highlight_lines' => $highlight_lines,
|
||||||
|
'cl_continuation' => $cl_continuation,
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -6,5 +6,6 @@
|
|||||||
{% if cl_prompt %}data-prompt="{{ cl_prompt }}"{% endif %}
|
{% if cl_prompt %}data-prompt="{{ cl_prompt }}"{% endif %}
|
||||||
{% if ln_start %}data-start="{{ ln_start }}"{% endif %}
|
{% if ln_start %}data-start="{{ ln_start }}"{% endif %}
|
||||||
{% if highlight_lines %}data-line=" {{ highlight_lines }}"{% endif %}
|
{% if highlight_lines %}data-line=" {{ highlight_lines }}"{% endif %}
|
||||||
|
{% if cl_continuation %}data-continuation-str="{{ cl_continuation }}"{% endif %}
|
||||||
><code>{{- content|e('html') -}}</code></pre>
|
><code>{{- content|e('html') -}}</code></pre>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user