A typst template/lib for taking notes.
Go to file
dorianx f7ddb12910 Hides todo when requested, do not show list when no todos, todos can be marked as done 2024-03-21 16:22:54 +01:00
template add shorthands for graph 2024-03-21 14:37:03 +01:00
LICENSE Initial commit 2024-03-21 10:19:13 +01:00
README.md add shorthands for graph 2024-03-21 14:37:03 +01:00
lib.typ Hides todo when requested, do not show list when no todos, todos can be marked as done 2024-03-21 16:22:54 +01:00
typst.toml init 2024-03-21 11:52:40 +01:00

README.md

notes

A typst template/lib for taking notes.

Usage

Install the package locally:

git clone https://git.pains-perdus.fr/Pains-Perdus/typ-notes.git ~/.local/share/typst/packages/local/notes/0.0.1

Use it in typ files with:

#import "@local/notes:0.0.1": *

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;
}
\```

digraphLR, digraphTB, graphLR and graphTB remove boilerplate code where writing in a hurry:

\```digraphLR
a -> b;
b -> c;
c -> a;
\```

\```graphTB
a -- b;
b -- c;
c -- a;
\```

Todo

Lorem ipsum dolore #todo[sit] amet

TODO:

  • biblio
  • add a list of all todo at the end of the file