From 7e49db5ddefe8c515b5f3931a5c701efaac33d91 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 16 Dec 2022 17:45:03 -0600 Subject: change structure for new pyssg version --- live/static/hl/languages/python-repl.min.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 live/static/hl/languages/python-repl.min.js (limited to 'live/static/hl/languages/python-repl.min.js') diff --git a/live/static/hl/languages/python-repl.min.js b/live/static/hl/languages/python-repl.min.js new file mode 100644 index 0000000..f4541ac --- /dev/null +++ b/live/static/hl/languages/python-repl.min.js @@ -0,0 +1,4 @@ +hljs.registerLanguage("python-repl",(()=>{"use strict";return s=>({ +aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$", +subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{ +begin:/^\.\.\.(?=[ ]|$)/}]}]})})()); \ No newline at end of file -- cgit v1.2.3-54-g00ecf