Ionaru / Ionaru/easy-markdown-editor

Format code as monospace (and highlighted) in editor window

Open
#96 2 comments 11 reactions 0 assignees View on GitHub
Improvement
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
When typing code into the editor, it's always frustrating that it's not monospace and doesn't have syntax highlighting. Syntax highlighting is less important than it being monospace, but both are annoying.

**Describe the solution you'd like**
It'd be really useful if when a line was indented by four spaces or surrounded by fences, it could be converted to a monospace font and possibly also get some kind of syntax highlighting.

**Describe alternatives you've considered**
I looked for ways to add my own CSS to do this, but I really can't seem to understand how you manage to style text inside a textarea. I'd be happy to make a PR for this if you'd point me to the right place to put my CSS.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.