From 2555bc0b24a3c2b79521f03e7bcd03d3acd288b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20Jourdane?= Date: Mon, 11 Feb 2019 14:46:16 +0100 Subject: [PATCH] Fix typos and other minor improvements. --- README.md | 76 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 41 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 90eb0b3..d3ff57d 100644 --- a/README.md +++ b/README.md @@ -8,16 +8,15 @@ [SimpleMDE, made by Sparksuite](https://github.com/sparksuite/simplemde-markdown-editor/). Go to the [dedicated section](#simplemde-fork) for more information. -This repository is a fork of [SimpleMDE, made by Sparksuite](https://github.com/sparksuite/simplemde-markdown-editor/). - -A drop-in JavaScript textarea replacement for writing beautiful and understandable Markdown. +A drop-in JavaScript text area replacement for writing beautiful and understandable Markdown. EasyMDE allows users who may be less experienced with Markdown to use familiar toolbar buttons and shortcuts. + In addition, the syntax is rendered while editing to clearly show the expected result. Headings are larger, emphasized words are italicized, links are underlined, etc. -EasyMDE also features both built-in autosaving and spell checking. +EasyMDE also features both built-in auto saving and spell checking. The editor is entirely customizable, from theming to toolbar buttons and javascript hooks. -[**Demo**](https://easymde.tk/) +[**Try the demo**](https://easymde.tk/) [![Preview](https://user-images.githubusercontent.com/3472373/51319377-26fe6e00-1a5d-11e9-8cc6-3137a566796d.png)](https://easymde.tk/) @@ -36,7 +35,7 @@ The editor is entirely customizable, from theming to toolbar buttons and javascr - [Keyboard shortcuts](#keyboard-shortcuts) - [Advanced use](#advanced-use) - [Event handling](#event-handling) - - [Removing EasyMDE from textarea](#removing-easymde-from-textarea) + - [Removing EasyMDE from text area](#removing-easymde-from-text-area) - [Useful methods](#useful-methods) - [How it works](#how-it-works) - [SimpleMDE fork](#simplemde-fork) @@ -45,12 +44,14 @@ The editor is entirely customizable, from theming to toolbar buttons and javascr ## Install EasyMDE -Via [npm](https://www.npmjs.com/package/easymde). +Via [npm](https://www.npmjs.com/package/easymde): + ``` npm install easymde --save ``` -Via the UNPKG CDN. +Via the *UNPKG* CDN: + ```html @@ -61,7 +62,8 @@ Via the UNPKG CDN. ### Loading the editor -After installing and/or importing the module, you can load EasyMDE onto the first TextArea on the webpage. +After installing and/or importing the module, you can load EasyMDE onto the first TextArea on the web page: + ```html ``` -Alternatively you can select a specific TextArea, via Javascript. +Alternatively you can select a specific TextArea, via Javascript: + ```html ``` -Or via jQuery. +Or via jQuery: + ```html ``` -Use EasyMDE.value(val) to set the content of the editor. +Use EasyMDE.value(val) to set the content of the editor: + ```html