diff --git a/docs/css/custom.css b/docs/css/custom.css index c479ad0..65265a5 100644 --- a/docs/css/custom.css +++ b/docs/css/custom.css @@ -8,6 +8,10 @@ white-space: pre-wrap; } +.termy .linenos { + display: none; +} + a.external-link::after { /* \00A0 is a non-breaking space to make the mark be on the same line as the link diff --git a/docs/js/custom.js b/docs/js/custom.js index 58f321a..0dda9fd 100644 --- a/docs/js/custom.js +++ b/docs/js/custom.js @@ -13,7 +13,7 @@ function setupTermynal() { function createTermynals() { document - .querySelectorAll(`.${termynalActivateClass} .highlight`) + .querySelectorAll(`.${termynalActivateClass} .highlight code`) .forEach(node => { const text = node.textContent; const lines = text.split("\n");