style: add line numbering

Used only on editor, not visible, needs fix on top-padding and
bottom-padding
This commit is contained in:
Igor Támara 2025-11-06 15:13:46 -05:00 committed by CJ van den Berg
parent 1bb3b70864
commit b82a5076bd
3 changed files with 24 additions and 2 deletions

View file

@ -24,7 +24,7 @@
</nav>
<script src="$site.asset('js/index.js').link()"></script>
<script src="$site.asset('js/highlight.js').link()"></script>
<script>document.addEventListener('DOMContentLoaded', addLineNumbersRobust);</script>
<script>document.addEventListener('DOMContentLoaded', addLineNumbersToPre);</script>
<super>
</body>
</html>