Skip to content
OpenMarkdown Editor
App
Editor
Demo
Examples
Docs
GitHub
Get started
OpenMarkdown Editor Docs
Search
Ctrl
K
Cancel
Select theme
Dark
Light
Auto
Menu
Getting started
OpenMarkdown Editor
Install
Your first editor
Use it in React
Use it in any framework
Guides
The host: `EditorHost`
The environment: `EditorEnvironment`
Theming
UI language
Images
Untrusted content
Server-side rendering
Self-hosting
Fidelity
Fidelity
How we compared editors
API reference
Overview
classes
InvalidUtf8Error
functions
configureEditorEnvironment
createEditorState
mountEditor
openMarkdownFile
saveMarkdownFile
interfaces
EditorEnvironment
EditorHost
EditorStateOptions
MarkdownEditor
MarkdownFile
SpellMiss
SpellService
type-aliases
ColorScheme
EditorLang
EditorMode
LineEnding
OutlineItem
Examples
All examples
Select theme
Dark
Light
Auto
LineEnding
LineEnding
= "\n" | "\r\n" | "\r"
A line ending as it appears in the file: LF, CRLF, or a lone CR.