interface CodeEmbed {
$type: 'app.bsky.embed.code'
code: {
content: string
lang: string
lineNumbers?: boolean
}
}
```
interface CodeEmbed {
$type: 'app.bsky.embed.code'
code: {
content: string
lang: string
lineNumbers?: boolean
}
}
```
(i set constantshow,linenumbers,nonewlines,noconvert,smarthome,nohelp, and minibar)
(i set constantshow,linenumbers,nonewlines,noconvert,smarthome,nohelp, and minibar)
This is a failure of design.
This is a failure of design.
There's also #MicrosoftEdit, #Microsoft's #terminalbased #texteditor.
There's also #MicrosoftEdit, #Microsoft's #terminalbased #texteditor.
The Highlight API does not work in a <textarea> or <input>
So suppose you have developed a <code-repl> Web Component with Syntax Highlighting and Linenumbers in a <textarea> (with 0 dependencies)
You can't highlight code/lines with that API
A background-image does
The Highlight API does not work in a <textarea> or <input>
So suppose you have developed a <code-repl> Web Component with Syntax Highlighting and Linenumbers in a <textarea> (with 0 dependencies)
You can't highlight code/lines with that API
A background-image does
All with 0 dependencies? 😇
All with 0 dependencies? 😇