Name: Mermaid
Owner: Semantic MediaWiki
Description: Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
Created: 2017-12-30 02:59:06.0
Updated: 2018-05-07 06:06:04.0
Pushed: 2018-05-07 06:06:03.0
Homepage: https://www.mediawiki.org/wiki/Extension:Mermaid
Size: 489
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This extension provides the #mermaid
parser function to support the generation of diagrams and flowcharts with the help of the mermaid script language. Supported diagram forms include:
The recommended way to install Mermaid is by using Composer with an entry in MediaWiki's “composer.json” file or preferably “composer.local.json” file.
"require": {
"mediawiki/mermaid": "~1.0"
}
composer require mediawiki/mermaid:~1.0
wfLoadExtension( 'Mermaid' );
to the “LocalSettings.php” fileThe #mermaid
parser function allows to add mermaid typed content to a wiki article. For example, copying examples is as easy as:
ermaid:sequenceDiagram
icipant Alice
icipant Bob
ice->John: Hello John, how are you?
op Healthcheck
John->John: Fight against hypochondria
d
te right of John: Rational thoughts <br/>prevail...
John-->Alice: Great!
John->Bob: How about you?
Bob-->John: Jolly good!
If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guideline.
This extension provides unit and integration tests that are run by a continues integration platform
but can also be executed using composer phpunit
from the extension base directory.