Marked not working: markdown previewer

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

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

# Chirag

Chirag

1 Like

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 :smiley:

1 Like