mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-03 23:56:44 +02:00
@@ -1,5 +1,5 @@
|
|||||||
/** mermaid
|
/** mermaid
|
||||||
* http://knsv.github.io/mermaid/
|
* https://knsv.github.io/mermaid
|
||||||
* (c) 2015 Knut Sveidqvist
|
* (c) 2015 Knut Sveidqvist
|
||||||
* MIT license.
|
* MIT license.
|
||||||
*/
|
*/
|
||||||
@@ -45,4 +45,4 @@ statement
|
|||||||
: showInfo { yy.setInfo(true); }
|
: showInfo { yy.setInfo(true); }
|
||||||
;
|
;
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/** mermaid
|
/** mermaid
|
||||||
* http://knsv.github.io/mermaid/
|
* https://knsv.github.io/mermaid
|
||||||
* (c) 2015 Knut Sveidqvist
|
* (c) 2015 Knut Sveidqvist
|
||||||
* MIT license.
|
* MIT license.
|
||||||
*/
|
*/
|
||||||
@@ -48,10 +48,10 @@ line
|
|||||||
;
|
;
|
||||||
|
|
||||||
statement
|
statement
|
||||||
: STR VALUE {
|
: STR VALUE {
|
||||||
console.log('str:'+$1+' value: '+$2)
|
console.log('str:'+$1+' value: '+$2)
|
||||||
yy.addSection($1,yy.cleanupValue($2)); }
|
yy.addSection($1,yy.cleanupValue($2)); }
|
||||||
| title {yy.setTitle($1.substr(6));$$=$1.substr(6);}
|
| title {yy.setTitle($1.substr(6));$$=$1.substr(6);}
|
||||||
;
|
;
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
Reference in New Issue
Block a user