From c843261eb1d57c118ffaaed6584b75e180f81d4c Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Mon, 11 Sep 2017 18:22:48 -0700 Subject: [PATCH] update readme --- Readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 46838b1da..ea0732512 100644 --- a/Readme.md +++ b/Readme.md @@ -74,7 +74,7 @@ Slate tries to solve the question of "[Why?](#why)" with a few principles: 3. **Nested document model.** The document model used for Slate is a nested, recursive tree, just like the DOM itself. This means that creating complex components like tables or nested block quotes are possible for advanced use cases. But it's also easy to keep it simple by only using a single level of hierarchy. -4. **Stateless and immutable data.** By using React and Immutable.js, the Slate editor is built in a stateless fashion using immutable data structures, which leads to much easier to reason about code, and a much easier time writing plugins. +4. **Stateless views and immutable data.** By using React and Immutable.js, the Slate editor is built in a stateless fashion using immutable data structures, which leads to much easier to reason about code, and a much easier time writing plugins. 5. **Intuitive changes.** Slate's content is edited using "changes", that are designed to be high level and extremely intuitive to write and read, so that building custom functionality is as simple as possible. @@ -105,6 +105,7 @@ To get a sense for how you might use Slate, check out a few of the examples: - [**Tables**](./examples/tables) — showing how to nest blocks to render more advanced components. - [**Paste HTML**](./examples/paste-html) — showing how to use an HTML serializer to handle pasted HTML. - [**Code Highlighting**](./examples/code-highlighting) — showing how to use decorators to dynamically mark text. +- [**See all the examples...**](./examples) If you have an idea for an example that shows a common use case, pull request it! @@ -124,7 +125,7 @@ Slate encourages you to write small, reusable modules. Check out the public ones - [`slate-prism`](https://github.com/GitbookIO/slate-prism) highlights code blocks with [Prism.js](http://prismjs.com/)! - [`slate-soft-break`](https://github.com/ianstormtaylor/slate-soft-break) adds a soft break when `enter` is pressed. - [`slate-drop-or-paste-images`](https://github.com/ianstormtaylor/slate-drop-or-paste-images) lets users drop or paste images to insert them! -- [**View all plugins on `npm`...**](https://www.npmjs.com/browse/keyword/slate) +- [**See all the plugins on `npm`...**](https://www.npmjs.com/browse/keyword/slate)