mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-30 05:36:43 +02:00
Prettify
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" xmlns="http://www.w3.org/1999/html">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
@@ -26,7 +25,8 @@
|
||||
First -> 30 -> Second
|
||||
First -> 10 -> Third
|
||||
Second -> 20 -> Third
|
||||
</pre>
|
||||
</pre
|
||||
>
|
||||
<!-- node[title="hello, mister "sankey", backslash for you "] -->
|
||||
|
||||
<h2>Energy flow</h2>
|
||||
@@ -101,7 +101,8 @@
|
||||
"UK land based bioenergy" -> 182.01 -> "Bio-conversion"
|
||||
"Wave" -> 19.013 -> "Electricity grid"
|
||||
"Wind" -> 289.366 -> "Electricity grid"
|
||||
</pre>
|
||||
</pre
|
||||
>
|
||||
|
||||
<script type="module">
|
||||
import mermaid from './mermaid.esm.mjs';
|
||||
@@ -115,5 +116,4 @@
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
1
run
1
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 <path-to-file>'
|
||||
$name lint # Equvalent of pnpm -w run lint:fix
|
||||
$name test # Run unit tests
|
||||
$name vitest # Run watcher for unit tests
|
||||
|
Reference in New Issue
Block a user