Mô tả
Generation of diagrams and flowcharts from text in a similar manner as markdown by using mermaid.js
WP Mermaid is smart enough that loads mermaid.js only when your posts contain Mermaid syntax, by detecting the use of shortcode and block. So it will not be loaded on your website everywhere.
= See also
If you are looking for a Markdown editor supporting Mermaid, you can also check out Terry Lin‘s WordPress plugin called the WP Githuber MD, which provides a variety of features not just Mermaid, it is worth to try.
Copyright
WP Mermaid, Copyright 2020 TerryL.in
WP Mermaid is distributed under the terms of the GNU GPL
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Block
This plugin provides 2 blocks.
- WP Mermaid
- WP Mermaid
Cài đặt
- Upload the plugin files to the
/wp-content/plugins/wp-mermaid
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to the WP Mermaid menu in Settings and set your options.
Shortcode
In classic editor, you can use shortcode to render your Mermaid syntax. If you are using WordPress version below 5.0, this is the only way you can use.
Gutenberg Block
- Choose a Mermaid syntax block.
- Fill in your Mermaid syntax in the editor.
Hỏi đáp
None.
Đánh giá
Người đóng góp & Lập trình viên
“WP Mermaid” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng góp“WP Mermaid” đã được dịch qua 3 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “WP Mermaid” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.0
- First release.
= 1.0.1
- Upgrade Mermaid JavaScript library from 8.5.0 to 8.9.0