Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 419192

Summary: [codemirror] Markdown syntax highlighting is boring
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Project Inbox <orion.editor-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
orion vs. codemirror on markdown none

Description Mark Macdonald CLA 2013-10-10 22:51:07 EDT
Created attachment 236359 [details]
orion vs. codemirror on markdown

1. Install the orion-codemirror plugin for Orion 4.0
2. Open a README.md file
3. The highlighting is working, but it is a little too subtle.

This is because our CSS theme doesn't all the classes that the highlighter spits out.

See pic for a comparison of Orion vs. native CodeMirror.

Here's the classes this mode generates: 
https://github.com/marijnh/CodeMirror/blob/ee96b13f5ab0ca6a7387bd71b53f59c484b88e25/mode/markdown/markdown.js#L50-L62

^ We should prefix all of these with "cm-" and apply a nice style for them in our theme.
Comment 1 Mark Macdonald CLA 2015-05-04 11:40:53 EDT
Orion ships with built in markdown syntax highlighting now.