- 789
- Posts
- 18
- Years
- Seen Apr 29, 2025
I often find myself using in-line code blocks on Discord, Github, etc. Here,
Code:
works fine for multiline code blocks, but if I want something in-line for use within a sentence, there isn't really any way; [code] will always introduce a line break and extend to the right edge.
You can do an approximation [span="font-family: inconsolata; border: 1px inset; padding: 2px"]like this[/span] using [span], but that's not particularly convenient. I'm not suggesting that in-line code blocks have to look /exactly/ like that, it was more just showing the type of thing I'm talking about (and usage).
Would it be possible to create a new BB Code tag for this purpose?