test
This commit is contained in:
parent
fc20df49b2
commit
11d3df6c66
@ -34,7 +34,6 @@ class PrismShortcode extends Shortcode
|
|||||||
$cl_output = $sc->getParameter('cl-output');
|
$cl_output = $sc->getParameter('cl-output');
|
||||||
$cl_filter_output = $sc->getParameter('cl-filter-output');
|
$cl_filter_output = $sc->getParameter('cl-filter-output');
|
||||||
$cl_continuation = $sc->getParameter('cl-continuation');
|
$cl_continuation = $sc->getParameter('cl-continuation');
|
||||||
echo $cl_continuation;
|
|
||||||
|
|
||||||
return $this->twig->processTemplate('shortcodes/prism-highlight.html.twig', [
|
return $this->twig->processTemplate('shortcodes/prism-highlight.html.twig', [
|
||||||
'content' => trim($content),
|
'content' => trim($content),
|
||||||
|
@ -7,5 +7,5 @@
|
|||||||
{% 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 %}
|
{% 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