Ionaru / Ionaru/easy-markdown-editor

Dark Mode Documentation

Open
#131 7 comments 4 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.**

I have recently embedded this excellent editor (thank you!) into a website, but now have a directive to support dark mode. So I've begun working in dark mode. Most of the editor looks OK when I override some specific content:

`.CodeMirror{color:#ccc;border-color:#333;background-color:inherit}`

And to get the cursor working I used

`.cm-s-easymde .CodeMirror-cursor{border-color:#ccc}`

The only thing I don't have working is anything with fullscreen or preview modes; all those seem to set the background color.

**Describe the solution you'd like**
Just some documentation detailing my adventure so nobody else has to wander. Thank you!

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reading the existing documentation and checking the fullscreen and preview modes referenced in the issue, along with the provided .CodeMirror and .cm-s-easymde .CodeMirror-cursor overrides. Done means adding a concise dark-mode documentation section that explains the required styling for those modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.