# My Markdown Previewer - Any Feedback appreciated!

**URL:** <https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912>\
**Category:** I Built This\
**Created:** [June 3, 2018, 10:27am UTC](https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912 "2018-06-03T10:27:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![deweis](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/deweis/32/63559_2.png) [@deweis](https://forum.freecodecamp.org/u/deweis)\
**Post date:** [June 3, 2018, 10:27am UTC](https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912/1 "2018-06-03T10:27:09Z")

</div>

Here’s my [Markdown Previewer](https://codepen.io/deweis/full/GGogEx/)

- Built with React and SASS… my first time with both of them 😉

Thank you for any Feedback!

---

<div class="post-metadata">

**Author:** ![anon18662199](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@anon18662199](https://forum.freecodecamp.org/u/anon18662199)\
**Post date:** [June 3, 2018, 11:05am UTC](https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912/2 "2018-06-03T11:05:15Z")

</div>

DUDE! This is so cool in functionality.

But personally(my issue, not important) I prefer not that much dark theme! The paradox part is the editing panel is white, and the preview is black. Kills eyes, after some second work, now I see everything inverted.

There are people out there like dark theme, ok. but usually white themes come beside the dark one.  
I suggest you go for theming it up.

Another good stuff you would add is ability to minimize editing and preview panel. Just a simple minimize button for instance to minimize(hide, etc…) the preview or editing panel.

This could be too much, but if you could syntax color the user input in editing panel, so AWESOME.  
Another great idea could be syntax and data checking in input editor, same as auto complete option.

I also wondered why it’s not fully wide to screen width in desktop? 800px? why not full width?

Having a monospaced font for editor is good also.

Awesome work. Keep going on great work, happy programming.

---

<div class="post-metadata">

**Author:** ![kevcomedia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevcomedia/32/125737_2.png) [@kevcomedia](https://forum.freecodecamp.org/u/kevcomedia)\
**Post date:** [June 3, 2018, 11:11am UTC](https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912/3 "2018-06-03T11:11:59Z")

</div>

An odd thing I found is that you used `ReactDOM.render` twice. I think the preferred approach is to make a “root” component that will render both `<Title />` and `<TextBoxes />`, then render that root component with just one `ReactDOM.render` call.

Non fixed-width text in a markdown editor bugs me 😛 but otherwise it looks neat.

---

<div class="post-metadata">

**Author:** ![deweis](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/deweis/32/63559_2.png) [@deweis](https://forum.freecodecamp.org/u/deweis)\
**Post date:** [June 4, 2018, 12:14pm UTC](https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912/4 "2018-06-04T12:14:51Z")

</div>

Hey @NULL\_dev

Thank you very much for this extensive feedback!

Yeah, somehow I felt doing this in dark 😉, but you’re right, the editor in white and preview in dark is kinda hard. I switched the editor now to dark as well so it’s at least consistently dark.

> [@NULL\_dev](#):
>
> Another good stuff you would add is ability to minimize editing and preview panel. Just a simple minimize button for instance to minimize(hide, etc…) the preview or editing panel.

Could be quite nice with some smooth transition being added. Will check on this one!

> [@NULL\_dev](#):
>
> This could be too much, but if you could syntax color the user input in editing panel, so AWESOME.
> 
> Another great idea could be syntax and data checking in input editor, same as auto complete option.

Yeah, let me build another [JS Bin](https://jsbin.com) …😀.

Tried adding some highlighting with [highlight.js](https://highlightjs.org/), but unfortunately it can’t be applied to textareas… eventually in the preview, but somehow I couldn’t make it work there up to now…

> [@NULL\_dev](#):
>
> I also wondered why it’s not fully wide to screen width in desktop? 800px? why not full width?
> 
> Having a monospaced font for editor is good also.

You’re completely right. Made it full screen now for bigger screens as well as added the monospace for the editor, like it.

Thanks again for your inputs! Happy coding to you too…

---

<div class="post-metadata">

**Author:** ![deweis](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/deweis/32/63559_2.png) [@deweis](https://forum.freecodecamp.org/u/deweis)\
**Post date:** [June 4, 2018, 12:19pm UTC](https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912/5 "2018-06-04T12:19:35Z")

</div>

Hey @kevcomedia

Thanks to you too for your feedback!

You’re completely right, having two `ReactDOMrender` doesn’t make sense. Hence, I’ve adjusted this so there is only one root component.

What exactly do you mean by “Non fixed-width text”? 😀

---

<div class="post-metadata">

**Author:** ![kevcomedia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevcomedia/32/125737_2.png) [@kevcomedia](https://forum.freecodecamp.org/u/kevcomedia)\
**Post date:** [June 5, 2018, 12:46am UTC](https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912/6 "2018-06-05T00:46:39Z")

</div>

I meant “not monospace” 🙂

But it looks like you’ve updated the textarea, and it looks much better

---

<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:** [June 1, 2021, 1:49pm UTC](https://forum.freecodecamp.org/t/my-markdown-previewer-any-feedback-appreciated/195912/7 "2021-06-01T13:49:26Z")

</div>

Closed on June 1, 2021, 1:49pm UTC


