Markdown Viewer

Hello Coders, Does anyone know what a html markdown previewer does, Ive built one in the challenges read about and still cant figure out any application or use for this program. I`m assuming this is a text editor.

Hello @robheyays!

A markdown previewer takes plain text (with added reserved markdown characters) entered into an editor and translates that text into a markdown document.

Does this help?

Happy Coding! :slightly_smiling_face:

Thx, It does. Would this be something like no code or low code or just using this to make documents might be a easy way to go. :laughing:

Check out https://www.markdownguide.org/

and

1 Like

The forum post editor is doing something similar.

If you write Markdown in the editor, it transforms it to HTML.

# This is an h1
## This is an h2

* list item
* list item

A [forum link](https://forum.freecodecamp.org/).

```js
// A code block
const test = "test";
```

Outputs:

This is an h1

This is an h2

  • list item
  • list item

A forum link.

// A code block
const test = "test";
1 Like

Interesting, I remember the hashtags and the other symbols now.