# Markdown syntax highlighting in post editor

**URL:** https://meta.discourse.org/t/markdown-syntax-highlighting-in-post-editor/282665
**Category:** Feature
**Tags:** composer
**Created:** [October 18, 2023, 4:49pm UTC](https://meta.discourse.org/t/markdown-syntax-highlighting-in-post-editor/282665 "2023-10-18T16:49:00Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 13, 2025, 12:15am UTC](https://meta.discourse.org/t/markdown-syntax-highlighting-in-post-editor/282665/20 "2025-03-13T00:15:04Z")

</div>

Discourse is now shipping an experimental WYSIWYG composer 🎊

> [@Test our new composer!](https://meta.discourse.org/t/test-our-new-composer-on-meta/352347/1):
>
> We have been working on a new rich text editor mode for our composer so that it’s easier to write on Discourse. We’re now ready to start testing it out to get more feedback from our community on this feature! Our implementation builds upon the excellent [ProseMirror](https://prosemirror.net/) and its non-core [Markdown module](https://github.com/ProseMirror/prosemirror-markdown), using the module’s schema, parsing, and serialization definitions as the base for further Discourse-specific features. This topic will serve as both a guide to testing the new composer and a hub for…

This infra also makes it possible long term to apply syntax highlighting on markdown if we want to go down that path, it becomes a lot less necessary though with the new composer.

For example the new composer now allows you to apply syntax highlighting to code while you are typing it!

 ![The image displays a CSS code snippet setting the background color to red, with a dropdown menu labeled CSS. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/0/3/a/03a47e5ef737620f8fea4e5a80e9584bd0f61e62.png)

---

_[View the full topic](https://meta.discourse.org/t/markdown-syntax-highlighting-in-post-editor/282665)._
