bnew

Veteran
Joined
Nov 1, 2015
Messages
63,722
Reputation
9,783
Daps
173,978
Okay, let's call this bookmarklet... BBCode Transformer Plus!
BBCode Transformer Plus is like a little magic wand for text areas on websites. Imagine you're typing in a box online, maybe on a forum or a website that uses special codes called BBCode to make your text look fancy (like bold, underlined, or have links).
This bookmarklet helps you in two main ways:
  1. It takes a different kind of special code (the $$...$$ stuff) and turns it into the website's regular fancy code ([...] BBCode). Think of it like a translator. If you type things like $$URL=website.com$$My Link$$\/URL$$, this tool will change it into the website's understood format: My Link. It does this for different things like making text bold ($$B$$), italic ($$I$$), adding images ($$IMG$$), headings ($$HEADING=2$$), lists ($$LIST$$, $$*$$), and even special math symbols ($$...$$). It also tries to be smart about extra spaces you might accidentally type in these special codes.
  2. It also directly works with the website's regular fancy codes ([...] BBCode) for website links. If you already have a link written like My Link, this tool will automatically add an underline to it, making it My Link. It does the same for simple links written as website.com, turning them into website.com.
Essentially, this tool makes it easier for you to format your text in online text boxes. If you're used to typing in one style of special codes, it can convert them to the style the website understands. Plus, it automatically adds underlines to any existing or newly converted website links to make them stand out. It also does some tidying up of extra line breaks and removes some other types of special formatting ($$FONT$$, $$COLOR$$) to keep things clean.

bugfix update:
5/14/2025
fixed no space issue [/u][u]

pastebin.com/QuMuJms5

 
Top