# Marked not working: markdown previewer

**URL:** <https://forum.freecodecamp.org/t/marked-not-working-markdown-previewer/210031>\
**Category:** General\
**Created:** [July 19, 2018, 10:36am UTC](https://forum.freecodecamp.org/t/marked-not-working-markdown-previewer/210031 "2018-07-19T10:36:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiragtutlani](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/chiragtutlani/32/146485_2.png) [@chiragtutlani](https://forum.freecodecamp.org/u/chiragtutlani)\
**Post date:** [July 19, 2018, 10:36am UTC](https://forum.freecodecamp.org/t/marked-not-working-markdown-previewer/210031/1 "2018-07-19T10:36:30Z")

</div>

> **[Markdown Previewer](https://codepen.io/chiragtutlani/pen/ajmaPp)**
>
> ...

My marked function is not working properly.  
It renders the string without converting markdown to HTML.  
Please Help.

---

<div class="post-metadata">

**Author:** ![PortableStick](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/portablestick/32/65591_2.png) [@PortableStick](https://forum.freecodecamp.org/u/PortableStick)\
**Post date:** [July 19, 2018, 10:53am UTC](https://forum.freecodecamp.org/t/marked-not-working-markdown-previewer/210031/2 "2018-07-19T10:53:04Z")

</div>

It’s working fine. In markup, you need a space between the hash and the word. The forum also renders markdown:

```auto
# Chirag

```

# Chirag

---

<div class="post-metadata">

**Author:** ![chiragtutlani](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/chiragtutlani/32/146485_2.png) [@chiragtutlani](https://forum.freecodecamp.org/u/chiragtutlani)\
**Post date:** [July 19, 2018, 10:55am UTC](https://forum.freecodecamp.org/t/marked-not-working-markdown-previewer/210031/3 "2018-07-19T10:55:34Z")

</div>

A small silly mistake and I wasted so much of my time.  
Thank you so much @PortableStick for your kind time and help.  
Have a good time ahead 😃

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:18pm UTC](https://forum.freecodecamp.org/t/marked-not-working-markdown-previewer/210031/4 "2021-01-17T20:18:17Z")

</div>

Closed on January 17, 2021, 8:18pm UTC


