diff --git a/core/client/assets/sass/layouts/editor.scss b/core/client/assets/sass/layouts/editor.scss index 7c1a28d98f..fcf92fccf8 100644 --- a/core/client/assets/sass/layouts/editor.scss +++ b/core/client/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/core/client/assets/sass/modules/global.scss b/core/client/assets/sass/modules/global.scss index 3b0aabf3d0..f2d110c66b 100644 --- a/core/client/assets/sass/modules/global.scss +++ b/core/client/assets/sass/modules/global.scss @@ -914,7 +914,7 @@ body.blur > *:not(#modal-container) { %modal, .modal { @include box-sizing(border-box); - max-height: calc(100%-80px); + max-height: 90%; width: 450px; padding: 0px; background: #FFFFFF; diff --git a/core/client/tpl/modals/markdown.hbs b/core/client/tpl/modals/markdown.hbs index 2d51ee07e3..ed631eb64f 100644 --- a/core/client/tpl/modals/markdown.hbs +++ b/core/client/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 | +