mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
commit
6110640fc2
@ -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);}
|
||||||
;
|
;
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user