code icon indicating copy to clipboard operation
code copied to clipboard

BBCode syntax highlighting

Open nevillepark opened this issue 5 years ago • 3 comments

Prerequisites

  • [x] I have searched open and closed issues for duplicates.

Feature

Is your feature request related to a problem? Please describe.

Syntax highlighting for BBCode, typically used on forums. E. g. [b][/b] for bold, [url=https://google.com][/url] for hyperlinks, etc.

Describe the solution you'd like

BBCode tags should be highlighted in different colours, as is possible for Markdown, HTML, freakin' COBOL, etc.

Existing work

BBCode highlighting packages exist for text editors like TextMate, Atom, and SublimeText; it can also easily be implemented in Notepad++.

Describe alternatives you've considered

  • switching to a different text editor (I'd rather not)
  • just gittin' gud (see above)

Additional context

I am like 90% sure more people use BBCode than COBOL.

nevillepark avatar Sep 11 '20 22:09 nevillepark

Going to close this as "Upstream" as syntax highlighting relies on Gtk.SourceView.

jeremypw avatar Jun 18 '25 11:06 jeremypw

Going to re-open in case someone wants to contribute a suitable syntax highlighting definition file in Gtk.SourceView format that we could install.

If any of the existing supported languages is sufficiently similar to BBCode then maybe we could also arrange for it to be used temporarily instead.

jeremypw avatar Jun 18 '25 17:06 jeremypw

Going to close this again (sorry) and open a new parent issue about using existing syntax highlighting files on certain unrecognised files pending the inclusion of a new definition upstream.

jeremypw avatar Jun 18 '25 18:06 jeremypw