# Help us to test the HTML pasting

**URL:** https://meta.discourse.org/t/help-us-to-test-the-html-pasting/77661
**Category:** Feature
**Tags:** feedback
**Created:** [22.Декабрь.2017 07:45:38 UTC](https://meta.discourse.org/t/help-us-to-test-the-html-pasting/77661 "2017-12-22T07:45:38Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [22.Декабрь.2017 07:45:38 UTC](https://meta.discourse.org/t/help-us-to-test-the-html-pasting/77661/1 "2017-12-22T07:45:38Z")

</div>

**We’ve done a big update in HTML pasting.**

_It is still an experiment feature only. You have to manually enable it via site setting **`enable_rich_text_paste`** to use it in your Discourse instances._

#### Available pasting options

> **Headings**
>
> # h1 Heading ![😎](https://global.discourse-cdn.com/meta/original/3X/8/3/83fde19a65de90b956969947c326ae3f2acc4746.png)
> 
> ## h2 Heading
> 
> ### h3 Heading
> 
> #### h4 Heading
> 
> ##### h5 Heading
> 
> ###### h6 Heading

> **Emphasis**
>
> **This is bold text**
> 
> **This is _bold+italic_ text**
> 
> _This is italic text_
> 
> _This is italic text_
> 
> ~~Strikethrough~~

> **Blockquotes**
>
> > Blockquotes can also be nested…
> > 
> > > …by using additional greater-than signs right next to each other…
> > > 
> > > > …or with spaces between arrows.

> **Lists**
>
> Unordered
> 
> - Create a list by starting a line with `+`, `-`, or `*`
> 
> - Sub-lists are made by indenting 2 spaces:
> 
> - Very easy!
> 
> Ordered
> 
> 1. Lorem ipsum dolor sit amet
> 
> 2. Consectetur adipiscing elit
> 
> 3. Integer molestie lorem at massa
> 
> 4. You can use sequential numbers…
> 
> 5. …or keep all the numbers as `1.`
> 
> Start numbering with offset:
> 
> 1. foo
> 2. bar

> **Code**
>
> Inline `code`
> 
> Indented code
> 
> ```plaintext
> // Some comments
> line 1 of code
> line 2 of code
> line 3 of code
> 
> ```
> 
> Block code “fences”
> 
> ```plaintext
> Sample text here...
> 
> ```
> 
> Syntax highlighting
> 
> ```plaintext
> var foo = function (bar) {
> return bar++;
> };
> 
> console.log(foo(5));
> 
> ```

> **Tables**
>
> | Option | Description |
> | --- | --- |
> | data | path to data files to supply the data that will be passed into templates. |
> | engine | engine to be used for processing templates. Handlebars is the default. |
> | ext | extension to be used for dest files. |

> **Links**
>
> [link text](http://dev.nodeca.com/)
> 
> - [Lycurgus v1.9](https://meta.discourse.org/t/discourse-version-1-9/61289)
> - [Lysias v2.0](https://en.wikipedia.org/wiki/Lysias)

> **Images**
>
> ![image](https://global.discourse-cdn.com/meta/original/3X/8/4/8433a0eeb8cb55484268469f52c461e2829e662a.png)

> **Allowed HTML tags**
>
> - `<ins>`
> - `<del>`
> - `<small>`
> - `<big>`

#### Current Limitations

- Not converting style attributes to Markdown. (like `style="font-weight: bold"`)

- Tables should have at least two rows and columns. Column count in 1st row shouldn’t lesser than other rows.

- Complex tables with nested formatting have [limited support](https://meta.discourse.org/t/help-us-to-test-the-html-pasting/77661/24).

- Copying ordered lists (`ol` tags) from MS Word have limited support. It will be treated same like `ul` tag.

**If HTML to Markdown conversion failed for any reason then it will automatically fallback to plain text pasting.**

---

_[View the full topic](https://meta.discourse.org/t/help-us-to-test-the-html-pasting/77661)._
