2020-05-05 19:39:28 +03:00
|
|
|
{% comment %}
|
2020-07-22 16:41:49 +03:00
|
|
|
Remove the line number of the code snippet.
|
2020-05-05 19:39:28 +03:00
|
|
|
{% endcomment %}
|
|
|
|
|
2020-07-22 16:41:49 +03:00
|
|
|
{% assign content = include.content %}
|
|
|
|
|
|
|
|
{% if content contains '<td class="rouge-gutter gl"><pre class="lineno">' %}
|
|
|
|
{% assign content = content | replace: '<td class="rouge-gutter gl"><pre class="lineno">', '<!-- <td class="rouge-gutter gl"><pre class="lineno">'%}
|
|
|
|
{% assign content = content | replace: '</td><td class="rouge-code">', '</td> --><td class="rouge-code">' %}
|
2020-05-05 19:39:28 +03:00
|
|
|
{% endif %}
|