How do I embed Reddit links?
copy and paste the reddit thread url to the coli.
or
Reddit BBCode Converter Userscript: What It Does
Overview
This userscript adds a special floating “RC” button to all Reddit pages. When active, it lets you instantly convert Reddit posts and comments into BBCode—the formatting language used on forums like XenForo or ProBoards—so you can easily copy Reddit content and paste it in a readable, styled way on other forums.
Main Features
- Floating RC button: A blue “RC” button appears in the bottom-left of every Reddit page. Click to activate/deactivate the script (turns red when off).
- Copy buttons for posts and comments: Every post and comment gets a
button. Clicking it copies that content as BBCode to your clipboard.
- Nested comment copying: Another
button lets you also include parent comments, so you can show a conversation with multiple replies. A dropdown lets you pick how many parent comments to include.
- Formatting conversion: The script transforms Reddit’s HTML (bold, italics, links, code, lists, quotes, images) into the closest BBCode equivalents, preserving style and structure.
- Image handling: Post images and gallery pictures are detected and included as BBCode
tags. (Optionally, you can choose whether to use raw links or data-URLs.)Code:[img]- Spoilers for context: Posts and comments get wrapped in BBCode
tags with time/date info, for clear readable context.Code:[spoiler]- Toast notifications: When you copy content, a popup tells you it worked.
- Automatic updates: New Reddit content or dynamic page loads are detected, so the buttons appear as you scroll (works on both old and new Reddit).
- Easy deactivation: Turn off the script anytime with one click—buttons disappear instantly.
How It Works, Step-By-Step
- 1. “RC” Button: This floating button activates or deactivates the script. Blue = on, red = off.
- 2. Copy Buttons On Reddit: When active, every post and comment gets a
button below it. For comments, a second
button lets you copy the comment plus its parent thread.
- 3. BBCode Formatting: Clicking a copy button converts the Reddit content (text, links, formatting, images) into standard BBCode. E.g. Reddit bold becomes
, images becomeCode:[b]bold[/b], links becomeCode:[img]...[/img].Code:[url='...']...[/url]
- 4. Nested Comments: For replies—like on nested comment threads—you can include 1, 2, or more of the parent comments in a BBCode thread. Each “parent” gets indented visually for easy quoting.
- 5. Spoiler Wrapper: Posts and comments are wrapped in a
tag with a title like “Commented on 2025-05-23 21:02:56”. This provides extra context when pasting into a forum.Code:[spoiler][/spoiler]
- 6. Images & Galleries: The tool tries to grab all post images or galleries and includes them as BBCode images, except for common Reddit static images or subreddit icons.
Example Output
Here’s what this script outputs as BBCode for a Reddit post and a nested comment:
Code:[b][Some Flair][/b] [b]How to Make Pancakes[/b] https://www.reddit.com/r/food/comments/abc123/how_to_make_pancakes/ [spoiler="text"] Posted on 2025-05-23 21:02:56 [img]https://i.redd.it/pancakes123.jpg[/img] [img]https://i.redd.it/syrup456.jpg[/img] Pancakes are easy to make! [list] [*]Mix flour, eggs, and milk. [*]Pour batter on a hot skillet. [*]Flip when golden. [/list] Top with [u][url='https://en.wikipedia.org/wiki/Maple_syrup']maple syrup[/url][/u] and enjoy! [/spoiler]
Code:https://www.reddit.com/r/food/comments/abc123/-/def456 [spoiler="text"] Commented on 2025-05-23 21:10:30 That looks delicious! Did you use real maple syrup? [/spoiler] │ https://www.reddit.com/r/food/comments/abc123/-/ghi789 │ │ [spoiler="text"] │ Commented on 2025-05-23 21:05:02 │ │ I made these last weekend, added blueberries to the mix—turned out awesome! │ [/spoiler]
In summary: This script gives you a simple, reliable way to copy any Reddit content and instantly turn it into forum-ready BBCode, complete with all formatting, context, nested quoting, and images—perfect for crossposting Reddit conversations or sharing posts on any XenForo forum.
pastebin.com/v0EKePW6
