# Remove BBCode and convert to Markdown

**URL:** https://meta.discourse.org/t/remove-bbcode-and-convert-to-markdown/83165
**Category:** Support
**Created:** [March 16, 2018, 6:52pm UTC](https://meta.discourse.org/t/remove-bbcode-and-convert-to-markdown/83165 "2018-03-16T18:52:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Campo\_Popo](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@Campo\_Popo](https://meta.discourse.org/u/Campo_Popo)
#### Post date: [March 16, 2018, 6:52pm UTC](https://meta.discourse.org/t/remove-bbcode-and-convert-to-markdown/83165/1 "2018-03-16T18:52:31Z")

</div>

Hi There,

I just imported from MyBB to discourse. Old forum had many BBcode into it. During import I set the environment value `INPUT=1`. Even after this the BBcode is not converted into Markdown. Please tell me how do I convert it into markdown.

 ![](https://global.discourse-cdn.com/meta/original/3X/4/7/470a4f5359c51572c993bc038671ae1a82dfe8a1.png)

My plan is to import into development install and than move to the production.

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [March 16, 2018, 7:21pm UTC](https://meta.discourse.org/t/remove-bbcode-and-convert-to-markdown/83165/2 "2018-03-16T19:21:36Z")

</div>

Markdown does not support text color. If you have just a few [color] tags, perhaps the best way is to replace/delete the string:

> [@Replace a string in all posts](https://meta.discourse.org/t/replace-a-string-in-all-posts/48729):
>
> bookmark This guide explains how to replace a string in all posts within a Discourse instance. person_raising_hand Required user level: System Administrator warning Console Access Required Want to replace a string in all the posts on a site? Let’s get started! warning WARNING: We strongly recommend you take a full backup before proceeding, and make sure your string replacement is specific enough to affect only the places you want it to. If this string replacement goes wrong, every…

If you want to style the text in markdown, see:

> **[CommonMark](https://commonmark.org)**

---

<div class="post-metadata">

### Author: ![Campo\_Popo](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@Campo\_Popo](https://meta.discourse.org/u/Campo_Popo)
#### Post date: [March 16, 2018, 7:30pm UTC](https://meta.discourse.org/t/remove-bbcode-and-convert-to-markdown/83165/3 "2018-03-16T19:30:58Z")

</div>

Thanks @omarfilip

I have lots of these tags, is there any way to render these?

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [March 16, 2018, 8:02pm UTC](https://meta.discourse.org/t/remove-bbcode-and-convert-to-markdown/83165/4 "2018-03-16T20:02:49Z")

</div>

You could try the BBCode Color plugin:

> [@Discourse BBCode Color](https://meta.discourse.org/t/discourse-bbcode-color/65363):
>
> discourse2Summary Discourse BBCode Color adds BBCode colors to the post formatting options.hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-bbcode-color](https://github.com/discourse/discourse-bbcode-color)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) The Discourse BBCode Color plugin enhances the Markdown composer [[1]](#footnote-303904-1) with support for the [BBCode [color] syntax](https://www.bbcode.org/changing-the-text-color-with-bbcode.php) and text background colors. Features Set colors inline with: [color=#aaa]text[/color] [color=red]text[/color] …

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 13, 2020, 11:00am UTC](https://meta.discourse.org/t/remove-bbcode-and-convert-to-markdown/83165/5 "2020-07-13T11:00:59Z")

</div>


