diff --git a/ghost/admin/assets/sass/layouts/editor.scss b/ghost/admin/assets/sass/layouts/editor.scss index 7c1a28d98f..fcf92fccf8 100644 --- a/ghost/admin/assets/sass/layouts/editor.scss +++ b/ghost/admin/assets/sass/layouts/editor.scss @@ -526,6 +526,14 @@ body.zen { right:-5px; } +/* ============================================================================= + Markdown Help Modal + ============================================================================= */ + +.modal-markdown-help-table { + margin-top: 0; +} + /* ============================================================================= CodeMirror ============================================================================= */ diff --git a/ghost/admin/tpl/modals/markdown.hbs b/ghost/admin/tpl/modals/markdown.hbs index 2d51ee07e3..ed631eb64f 100644 --- a/ghost/admin/tpl/modals/markdown.hbs +++ b/ghost/admin/tpl/modals/markdown.hbs @@ -1 +1,107 @@ -For now reference: Markdown Documentation \ No newline at end of file +
Result | +Markdown | +Shortcut | +
---|---|---|
Bold | +**text** | +Ctrl / Cmd + B | +
Emphasize | +__text__ | +Ctrl / Cmd + I | +
Inline Code |
+ `code` | +Cmd + K / Ctrl + Shift + K | +
Strike-through | +~~text~~ | +Ctrl + Alt + U | +
Link | +[title](http://) | +Ctrl + Shift + L | +
Image | +!image[image](http://) | +Ctrl + Shift + I | +
List | +* item | +Ctrl + L | +
Blockquote | +> quote | +Ctrl + Q | +
H1 | +# Heading | +Alt + 1 | +
H2 | +## Heading | +Alt + 2 | +
H3 | +### Heading | +Alt + 3 | +
H4 | +#### Heading | +Alt + 4 | +
H5 | +##### Heading | +Alt + 5 | +
H6 | +###### Heading | +Alt + 6 | +
Select Word | ++ | Ctrl + Option + W | +
Uppercase | ++ | Ctrl + U | +
Lowercase | ++ | Ctrl + Shift + U | +
Titlecase | ++ | Ctrl + Option + Shift + U | +
Insert Current Date | ++ | Ctrl + Shift + 1 | +