init
Some checks failed
Deploy Jekyll site to Pages / build (push) Failing after 3m59s

This commit is contained in:
2025-02-27 22:54:37 +01:00
parent d560021845
commit 1e3657f788
176 changed files with 11248 additions and 1 deletions

10
_includes/no-linenos.html Normal file
View File

@@ -0,0 +1,10 @@
{% comment %}
Remove the line number of the code snippet.
{% endcomment %}
{% 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">' %}
{% endif %}