# Pasting Google Doc loses bold and alignment formatting

**URL:** https://meta.discourse.org/t/pasting-google-doc-loses-bold-and-alignment-formatting/221966
**Category:** Support
**Created:** [March 25, 2022, 2:23pm UTC](https://meta.discourse.org/t/pasting-google-doc-loses-bold-and-alignment-formatting/221966 "2022-03-25T14:23:27Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [April 12, 2022, 2:31pm UTC](https://meta.discourse.org/t/pasting-google-doc-loses-bold-and-alignment-formatting/221966/5 "2022-04-12T14:31:02Z")

</div>

Document does not contain an HTML syntax then it will be converted to Markdown and there’s no Markdown syntax to center text, images, titles etc. To center texts you need to use HTML, as example:

`<div align=center>Centered text</div>`

will become

Centered text

> [@Sören\_Geier](#):
>
> The “Strong text” above was converted to a H2 which is not what we want.

This is not a bug and is happening because you added a dotted line immediately under “Strong Text”

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/0/c/b0c52637cd0e494cbe8ccc77c9206e2d40c6d63f.png)

See as example:

```plaintext
Strong text
---

```

will be transformed in H2 heading:

## Strong text

More info at [babelmark3 | Compare Markdown Implementations](https://babelmark.github.io/?text=%23%23+h2+test%0A%0Ah2+test%0A-%0A%0Ah2+test%0A---%0A%0A%0Ah2+test%0A-----).

In markdown a dotted line will be converted in a horizontal line if it is separated from the text with a blank space:

```plaintext
Strong text

---

```

will be transformed in:

Strong text

* * *

You can use the [CommonMark](https://commonmark.org/help/) tutorial to learn how to use the Markdown syntax if you need it.

You can also try this theme component, [MD Composer extras - theme - Discourse Meta](https://meta.discourse.org/t/md-composer-extras/118912) which adds extra buttons to the composer, including those for alignment.

---

_[View the full topic](https://meta.discourse.org/t/pasting-google-doc-loses-bold-and-alignment-formatting/221966)._
