add todo
parent
4c426e7661
commit
250b89b585
24
README.md
24
README.md
|
|
@ -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
|
||||
|
|
|
|||
4
lib.typ
4
lib.typ
|
|
@ -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}])
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,3 +9,5 @@ digraph mygraph {
|
|||
c -> b;
|
||||
}
|
||||
```
|
||||
|
||||
Lorem ipsum dolore #todo[sit] amet
|
||||
|
|
|
|||
Loading…
Reference in New Issue