# Markdown is not working

**URL:** <https://forum.getkirby.com/t/markdown-is-not-working/14424>\
**Category:** Questions\
**Tags:** v3\
**Created:** [May 29, 2019, 2:37pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424 "2019-05-29T14:37:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhund](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mhund](https://forum.getkirby.com/u/mhund)\
**Post date:** [May 29, 2019, 2:37pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/1 "2019-05-29T14:37:08Z")

</div>

Hi,

I switched from kirby 2 to kirby 3 with my page. unfortunately, not all markdowns are working. I see, that lists, code blocks, links work well, but:

Headlines work only if there is a leading line feed (#, ##, ###)  
“italic” works not (neither _blabla_ nor _blabla_; which one is right?)  
“bold” works not ( **blabla** )

are those findings known bugs or am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [May 29, 2019, 3:37pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/2 "2019-05-29T15:37:06Z")

</div>

I’m not aware of any markdown bugs.

Have you tested with the Starterkit in your environment?

 ![09](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/b/b58ac692c3de4c843772eaf80caf64b7d534c19d.png) ![56](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/0/05b1dbec592da51812ada74e10c5d0a8a76b8ba2.png)

---

<div class="post-metadata">

**Author:** ![mhund](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mhund](https://forum.getkirby.com/u/mhund)\
**Post date:** [May 29, 2019, 4:25pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/3 "2019-05-29T16:25:09Z")

</div>

hm … I see it also working in my initial post - seems that your forum is also working with markdown 🙂  
How ever - it works not with my installation, which is migrated from kirby 2. I updatet to the latest kirby version, needed hours to update bluebrints and some templates. Didn’t change contect. But I am wondering, what else can be reason for markup not to work. Maybe the config.php? I am still using the old one (k2)

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [May 29, 2019, 4:27pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/4 "2019-05-29T16:27:22Z")

</div>

You can’t use the old config file. The syntax has completely changed.

> **[Configuration](https://getkirby.com/docs/guide/configuration#the-config-php)**
>
> Almost every aspect of Kirby can be controlled and configured to do exactly what you need it to do.

---

<div class="post-metadata">

**Author:** ![mhund](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mhund](https://forum.getkirby.com/u/mhund)\
**Post date:** [May 29, 2019, 5:23pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/5 "2019-05-29T17:23:47Z")

</div>

cleaned the config.php. Didn’t help …

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [May 29, 2019, 5:47pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/6 "2019-05-29T17:47:42Z")

</div>

Could you test if it works in a fresh Starterkit?

---

<div class="post-metadata">

**Author:** ![anon77445132](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@anon77445132](https://forum.getkirby.com/u/anon77445132)\
**Post date:** [May 29, 2019, 6:15pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/7 "2019-05-29T18:15:40Z")

</div>

Do your server run `mb_string` ?

---

<div class="post-metadata">

**Author:** ![mhund](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mhund](https://forum.getkirby.com/u/mhund)\
**Post date:** [May 29, 2019, 11:09pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/8 "2019-05-29T23:09:20Z")

</div>

fresh starter kit incl. example content is working well for what ever reason. And when I install my old content- and site-directories, it stops working. strange.

---

<div class="post-metadata">

**Author:** ![mhund](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mhund](https://forum.getkirby.com/u/mhund)\
**Post date:** [May 29, 2019, 11:10pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/9 "2019-05-29T23:10:41Z")

</div>

I don’t know. If I search in the server settings, i cannot find such a parameter. But as mentioned one post above, it works with the fresh starter kit install. so to me it seems, that the server settings should be sufficient.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [May 30, 2019, 7:18am UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/10 "2019-05-30T07:18:10Z")

</div>

The Panel checks if the mb\_string extension is installed on installation. A missing extension would end up in messed up content, anyway, not in markdown only partly working.

If it works in a fresh Starterkit but not in your installation, then it’s probably not the server’s fault.

Do you use any plugins? What Kirby version?

Are you using any custom methods to render your markdown fields?

---

<div class="post-metadata">

**Author:** ![mhund](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mhund](https://forum.getkirby.com/u/mhund)\
**Post date:** [May 30, 2019, 9:56pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/11 "2019-05-30T21:56:15Z")

</div>

Deleted all plugins =\> didnt help.  
Kirby version 3.1.4 (I deleted kirby folder and copied it again to be sure not to have some left over files)  
Methods to render markdown fields: kirbytext()

Now what I found out might be interesting:

When I write it like this, it doesn’t work: The word “Technologie” isn’t written in italics.

```auto
(image: logo-v2b.gif class: articleimg_l link: http://hundhome.de)
Im Rahmen meines eHome-Selbstversuchs verwende ich *Technologie* als festen Bestandteil meines alltäglichen Lebens.

```

When I write it like this, it works: The difference is additional CR behind the (image)-block

```auto
(image: logo-v2b.gif class: articleimg_l link: http://hundhome.de)

Im Rahmen meines eHome-Selbstversuchs verwende ich *Technologie* als festen Bestandteil meines alltäglichen Lebens.

```

I have observed in general, that there must be an additional CR between markdown symbols and kirbytext-sections. Is this a bug or does it mean anything?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [May 31, 2019, 12:19pm UTC](https://forum.getkirby.com/t/markdown-is-not-working/14424/12 "2019-05-31T12:19:31Z")

</div>

> [@mhund](#):
>
> Is this a bug or does it mean anything?

I don’t know, I always include a blank line by habit, makes text more readable, but if it worked in K2 but not in K3, then that’s at least a pain in the neck if you have to update all your files.

You can probably use a filter that inserts a new line after an image tag.
