mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 18:59:42 +02:00
Modernization of build environment. Less gulp, more npm. Eslint.
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="../../dist/mermaid.css"/>
|
||||
<link rel="stylesheet" href="dist/mermaid.css"/>
|
||||
|
||||
<script src="../../dist/mermaid.js"></script>
|
||||
<script src="dist/mermaid.js"></script>
|
||||
<style>
|
||||
body{
|
||||
background-color: #89896f;
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1><i class="fa fa-camera-retro"></i> Font awesome support</h1>
|
||||
<h1><i class="fa fa-camera-retro"></i> Font awesome support!</h1>
|
||||
<div class="mermaid" id="i211">
|
||||
graph LR
|
||||
A["A double quote:#quot;"] -->B["fa:fa-twitter nu springer vi"]
|
||||
|
9
test/fconf.json
Normal file
9
test/fconf.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
startOnLoad:true,
|
||||
htmlLabels:true,
|
||||
callback:function(id){
|
||||
console.log(id,' rendered');
|
||||
},
|
||||
flowchart:{
|
||||
useMaxWidth:false,
|
||||
};
|
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<script src="../dist/mermaid.051.js"></script>
|
||||
<script src="../dist/mermaid.js"></script>
|
||||
<script>
|
||||
var config = {
|
||||
startOnLoad:true,
|
||||
|
Reference in New Issue
Block a user