mermaid preview in vscode

This commit is contained in:
Cyryl Płotnicki 2023-04-17 18:05:51 +01:00
parent 28d06b300f
commit 4ea38952ab
2 changed files with 10 additions and 9 deletions

View file

@ -13,13 +13,8 @@ I don't use home manager the program, everything is referenced from the top flak
## infra setup
```mermaid
sequenceDiagram
Alice ->> Bob: Hello Bob, how are you?
Bob-->>John: How about you John?
Bob--x Alice: I am good thanks!
Bob-x John: I am good thanks!
Note right of John: Bob thinks a long<br/>long time, so long<br/>that the text does<br/>not fit on a row.
Bob-->Alice: Checking with John...
Alice->John: Yes... John, how are you?
graph TB
mb1
vpsfree1
bolty
```

View file

@ -18,6 +18,12 @@
buildInputs = with pkgs; [ llvm lldb python37 autoPatchelfHook ];
})
] ++ vscode-utils.extensionsFromVscodeMarketplace [
{
publisher = "bierner";
name = "markdown-mermaid";
version = "1.18.1";
sha256 = "sha256-JWeSs7V/LZ345vGWOLeUgGi68Fot/eA2k+CzWL/Wp4w=";
}
{
publisher = "arrterian";
name = "nix-env-selector";