Skip to content

Commit

Permalink
chore: add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Aug 6, 2024
1 parent ff47491 commit ff334bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/editor.nue
Original file line number Diff line number Diff line change
Expand Up @@ -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 + '<wbr />' : ''}`
this.scroll()
}
Expand Down

0 comments on commit ff334bd

Please sign in to comment.