Advertisement

HTML in forum posts?

Started by March 28, 2011 06:02 AM
2 comments, last by Hodgman 13 years, 7 months ago
The old forum software let (forced) you to use raw html to do things like create hyperlinks and bold text and things like that. The new system is nice and all, but is there a way to get it to go back to letting me use raw html? I can't find an option for it among all the clickies. I'm guessing not, but I wanted to make sure.
[size=2]Darwinbots - [size=2]Artificial life simulation
You can use BBCode to do manual linkage, e.g. [ url = asdfasdf ] asdfasdf [ / url ]

test
Advertisement
Hmm... I'm not sure how you're doing that. When I copy+paste a link into the text editor it automatically creates a hyperlink from it.
Anyway, what I really want to do is try and embed SVG pictures in my post without having to host them somewhere, since it's an extra step.

Here's my example svg file:
[html]

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">

<ellipse cx="250" cy="250" rx="50" ry="50"
style="fill:rgb(255,0,0);"/>
</svg>
[/html]

There's a couple different ways to do it with html: http://www.w3schools.../svg_inhtml.asp. I'm not sure how to do it with bbcode, though.

Is there a way to edit/write a post in raw bbcode, even? The text editor for posts seems to be in "I know best" mode and does some things automatically.
[size=2]Darwinbots - [size=2]Artificial life simulation
I typed out the above [url] to google by hand, and it works.

hmmm. Converting a GIF file into base64, and then pasting it between an [ img ]data:image/gif;base64, [data here] [ / img ] pair seems to work... That's.... interesting?

[edit]Actually, it showed up ok on the preview screen, but didn't show up in the final post ;(

If you quote this post, then this block of text will appear as an image in your preview:
RaigSetVaOGGmHHo4YcghijigAEBADs=

This topic is closed to new replies.

Advertisement