@sklinet/strapi-plugin-bold-title-editor
v1.0.2
Published
A bold title/text editor to accent certain parts
Downloads
182
Readme
Strapi plugin Bold title editor
A bold title/text editor to accentuate certain parts through HTML or Markdown.
✨ Features
- Different output options: choose between HTML and Markdown.
- Actions: accentuate certain parts, preview code output and clear text format.
⏳ Installation
# Using NPM
npm install @SKLINET/strapi-plugin-bold-title-editor
Then, you'll need to build your admin panel:
# Using Yarn
yarn build
# Or using NPM
npm run build
🎉 Usage
HTML
React/Next.js
<h1 dangerouslySetInnerHTML={{ __html: title }} />
<h3><a href="#" dangerouslySetInnerHTML={{ __html: title }} /></h3>
Vue
<h1 v-html="title" />
<h3><a href="#" v-html="title" /></h3>
Markdown
React
import ReactMarkdown from 'react-markdown'
<ReactMarkdown children={title} />