From ff334bd2b345b38075551a5ca06b5a48396d2360 Mon Sep 17 00:00:00 2001 From: nobkd <44443899+nobkd@users.noreply.github.com> Date: Wed, 7 Aug 2024 01:54:28 +0200 Subject: [PATCH] chore: add todo --- src/editor.nue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/editor.nue b/src/editor.nue index 822eff4..72e679d 100644 --- a/src/editor.nue +++ b/src/editor.nue @@ -19,7 +19,9 @@ const spaceStart = this.spaceStarter.exec(text)[1] ?? '' const spaceEnd = this.spaceEnder.exec(text)[1] - // TODO: register language; how to do line number styles for textarea? + // TODO: register language + // TODO: how to do line number styles for textarea? + // TODO: disable special markup changes (e.g. line starts with >, +. -) (patch) highlighted.innerHTML = `${spaceStart}${glow(text, {})}${spaceEnd ? spaceEnd + '' : ''}` this.scroll() }