From fd3ffdc22abf780e63d1ff56fb78183db321a583 Mon Sep 17 00:00:00 2001 From: Nikolay Rozhkov Date: Mon, 19 Jun 2023 04:34:41 +0300 Subject: [PATCH] Prettify --- demos/sankey.html | 72 +++++++++++++++++++++++------------------------ run | 3 +- 2 files changed, 38 insertions(+), 37 deletions(-) diff --git a/demos/sankey.html b/demos/sankey.html index c35b907d2..d6ae1d2ec 100644 --- a/demos/sankey.html +++ b/demos/sankey.html @@ -1,23 +1,22 @@ + + + + States Mermaid Quick Test Page + + + - - - - States Mermaid Quick Test Page - - - - - -

Sankey diagram demos

-

Simple example

-
+  
+    

Sankey diagram demos

+

Simple example

+
     sankey
 
     node[title="hello, how are you?"]
@@ -26,11 +25,12 @@
     First -> 30 -> Second
     First -> 10 -> Third 
     Second -> 20 -> Third
-  
- +
+ -

Energy flow

-
+    

Energy flow

+
     sankey
 
     "Agricultural 'waste'"      ->      124.729  -> "Bio-conversion"
@@ -101,19 +101,19 @@
     "UK land based bioenergy"   ->      182.01   -> "Bio-conversion"
     "Wave"                      ->      19.013   -> "Electricity grid"
     "Wind"                      ->      289.366  -> "Electricity grid"
-  
+
- - - - \ No newline at end of file + + + diff --git a/run b/run index 473c6aaff..0f9c451d9 100755 --- a/run +++ b/run @@ -47,6 +47,7 @@ Run commonly used commands within docker containers \033[1m$name dev\033[0m # Run dev server with examples, open http://localhost:9000 $name add # Add package, 'run add d3-sankey' +$name prettier # Prettify a file 'run prettier ' $name lint # Equvalent of pnpm -w run lint:fix $name test # Run unit tests $name vitest # Run watcher for unit tests @@ -65,4 +66,4 @@ echo -n -e "$usage" $name help ;; -esac \ No newline at end of file +esac