SlateJS bold mark plugin.
SlateJS bold plugin.


```
yarn add @slate-editor/bold-plugin
`js
import React from 'react'
import { SlateEditor, SlateToolbar, SlateContent } from 'slate-editor'
import { BoldPlugin, BoldButtonBar } from '@slate-editor/bold-plugin'
const plugins = [
BoldPlugin()
]
const SlateRichTextEditor = () => (
)
export default SlateRichTextEditor
`
| OS | Shortcut |
|--------------------------|----------|
| ![Apple Logo][apple] | ⌘+b |^
| ![Windows Logo][windows] | +b |
| Name | Description |
|----------------------|---------------------------------------------------------------------------|
| BoldMark | Component that holds the html that will wrap the content with bold style. |
| BoldUtils | Generic file that holds the util common functions. |
| BoldButton | Button component that have behaviour to wrap content with bold style. |
| BoldKeyboardShortcut | Keyboard shortcut file that manipulates onKeyDown` event inside SlateJS. |
- Make keyboard shortcut accepts customization
[apple]: https://cdn2.iconfinder.com/data/icons/designer-skills/128/apple-ios-system-platform-os-mac-linux-48.png
[windows]: https://cdn2.iconfinder.com/data/icons/designer-skills/128/windows-48.png