init
This commit is contained in:
commit
e99be95ce6
3 changed files with 33 additions and 0 deletions
19
README.md
Normal file
19
README.md
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Typst Template for Website
|
||||||
|
|
||||||
|
This is highly experimental, use at your own risque.
|
||||||
|
I recommend forking and making your own modifications.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
This is not in Universe, if you wand to use this package, symlink the repo to local:
|
||||||
|
|
||||||
|
```
|
||||||
|
mkdir -p ~/.local/share/typst/packages/local/template-web/
|
||||||
|
ln -s $(pwd) ~/.local/share/typst/packages/local/template-web/0.0.1
|
||||||
|
```
|
||||||
|
|
||||||
|
Then to use it in your typst file:
|
||||||
|
|
||||||
|
```typst
|
||||||
|
#import "@local/template-web:0.0.1": *
|
||||||
|
```
|
||||||
1
lib.typ
Normal file
1
lib.typ
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
|
||||||
13
typst.toml
Normal file
13
typst.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
[package]
|
||||||
|
name = "template-web"
|
||||||
|
version = "0.0.1"
|
||||||
|
entrypoint = "lib.typ"
|
||||||
|
authors = ["Jean-Marie 'Histausse' Mineau <tyweb-template-3ebc@jean-marie.mineau.eu>"]
|
||||||
|
license = "MIT"
|
||||||
|
description = "A typst template for web."
|
||||||
|
repository = "https://git.mineau.eu/histausse/template-web.git"
|
||||||
|
|
||||||
|
# [template]
|
||||||
|
# path = "template"
|
||||||
|
# entrypoint = "main.typ"
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue