From bda94b0521f206a02427ec58cb9a848d9c993ccb Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Wed, 23 Jan 2019 10:36:39 +0100 Subject: [PATCH] [docs] fixed some small errors (#531) --- docs/architecture.md | 4 ++-- docs/development.md | 2 +- docs/security.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 50873a7..03bd5c0 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -89,7 +89,7 @@ can investigate existing rules & plugins to see possible approaches. Also, in complex cases you can try to ask for help in tracker. Condition is very simple - it should be clear from your ticket, that you studied docs, sources, -and tried to do something yourself. We never reject with help to real developpers. +and tried to do something yourself. We never reject with help to real developers. ## Renderer @@ -137,7 +137,7 @@ md.renderer.rules.image = function (tokens, idx, options, env, self) { Here is another example, how to add `target="_blank"` to all links: ```js -// Remember old renderer, if overriden, or proxy to default renderer +// Remember old renderer, if overridden, or proxy to default renderer var defaultRender = md.renderer.rules.link_open || function(tokens, idx, options, env, self) { return self.renderToken(tokens, idx, options); }; diff --git a/docs/development.md b/docs/development.md index 7391ff2..117b06c 100644 --- a/docs/development.md +++ b/docs/development.md @@ -38,7 +38,7 @@ Before continuing, make sure you've read: To simplify search: -- add to `package.json` keyswords `markdown-it` and `markdown-it-plugin` for plugins. +- add to `package.json` keywords `markdown-it` and `markdown-it-plugin` for plugins. - add keyword `markdown-it` for any other related packages. diff --git a/docs/security.md b/docs/security.md index 3838633..7d6234d 100644 --- a/docs/security.md +++ b/docs/security.md @@ -2,7 +2,7 @@ Many people don't understand that markdown format does not care much about security. In many cases you have to pass output to sanitizers. `markdown-it` -provides 2 possible stategies to produce safe output: +provides 2 possible strategies to produce safe output: 1. Don't enable HTML. Extend markup features with [plugins](https://www.npmjs.org/browse/keyword/markdown-it-plugin). We think it's the best choice and use it by default. - That's ok for 99% of user needs.