Converting from Markdown to XenForo's BBCodes

BT10

Well-known member
I'm transferring my forum from Flarum over to XenForo. Flarum's post editor is Markdown which XenForo 2.1 supports in most cases. Except for the headers.

For example in Flarum ### Text would translate to Text in H3. But XenForo post editor would not translate that. Is it possible to add such support?
 
I'm transferring my forum from Flarum over to XenForo. Flarum's post editor is Markdown which XenForo 2.1 supports in most cases. Except for the headers.

For example in Flarum ### Text would translate to Text in H3. But XenForo post editor would not translate that. Is it possible to add such support?
You may want to do it through regex to add a bigger font size where ### is found
 
I'd replace the prefix and subfix .png] directly in the database with the proper img bbcode

So bulk find [upl-image-preview url=// and replace it with
ICODE] and replace it with .png[img] < last one with the slash in front of it of course.
[ img ] and do the same for the last but with the slash in front of it?

Ignore the broken images warning above. XF just automatically recognizes the BBcode im referring to.
 
Back
Top Bottom