init
parent
125ff08e0f
commit
c22ff58394
20
README.md
20
README.md
|
|
@ -1,3 +1,23 @@
|
||||||
# notes
|
# notes
|
||||||
|
|
||||||
A typst template/lib for taking 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>
|
||||||
|
```
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
#import "@preview/gviz:0.1.0": *
|
||||||
|
#show raw.where(lang: "dot-render"): it => render-image(it.text)
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
#import "@local/notes:0.0.1": *
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
[package]
|
||||||
|
name = "notes"
|
||||||
|
version = "0.0.1"
|
||||||
|
entrypoint = "lib.typ"
|
||||||
|
authors = ["Histausse"]
|
||||||
|
license = "AGPL-3.0-or-later"
|
||||||
|
description = "A typst template/lib for taking notes."
|
||||||
|
repository = "https://git.pains-perdus.fr/Pains-Perdus/notes.git"
|
||||||
|
|
||||||
|
[template]
|
||||||
|
path = "template"
|
||||||
|
entrypoint = "main.typ"
|
||||||
Loading…
Reference in New Issue