main
Jean-Marie 'Histausse' Mineau 2024-03-21 13:20:56 +01:00
parent 4c426e7661
commit 250b89b585
Signed by: histausse
GPG Key ID: B66AEEDA9B645AD2
3 changed files with 30 additions and 0 deletions

View File

@ -22,7 +22,31 @@ Or to create a new note:
typst init @local/notes <directory>
```
## Features
### Graph
This package import gviz and can render dot graphs:
```
\```dot-render
digraph mygraph {
rankdir="LR";
b -> a;
a -> c;
c -> b;
}
\```
```
### Todo
```
Lorem ipsum dolore #todo[sit] amet
```
## TODO:
- add new raw type with graphviz boillerplate code
- biblio
- add a list of all todo at the end of the file

View File

@ -4,3 +4,7 @@
#show raw.where(lang: "dot-render"): it => render-image(it.text)
#doc
]
#let todo(content) = {
text(weight: "bold", fill: red, [{TODO : #content}])
}

View File

@ -9,3 +9,5 @@ digraph mygraph {
c -> b;
}
```
Lorem ipsum dolore #todo[sit] amet