Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f856f34421
|
||
|
|
c1f3a757c1
|
||
|
|
b7bcb8a185
|
||
|
|
934afca4c3 | ||
|
|
5a30a0eb62
|
||
|
|
dfaf8cee93 | ||
|
|
45112b434f
|
||
|
|
8a2a2956bc
|
No files matched your search
@@ -10,10 +10,10 @@ Pretty simple. Import `codly`. Initialize it. Import `codly-languages`.
|
||||
Configure `codly` with the languages. Like this:
|
||||
|
||||
```typst
|
||||
#import "@preview/codly:1.2.0": *
|
||||
#import "@preview/codly:1.3.0": *
|
||||
#show: codly-init
|
||||
|
||||
#import "@preview/codly-languages:0.1.8": *
|
||||
#import "@preview/codly-languages:0.1.9": *
|
||||
#codly(languages: codly-languages)
|
||||
```
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
// To use:
|
||||
//
|
||||
// ```typst
|
||||
// #import "@preview/codly:1.2.0": *
|
||||
// #import "@preview/codly:1.3.0": *
|
||||
// #show: codly-init
|
||||
//
|
||||
// #import "codly-languages.typ:0.1.8": *
|
||||
// #import "codly-languages.typ:0.1.9": *
|
||||
// #codly(languages: codly-languages)
|
||||
// ```
|
||||
#let codly-languages = {
|
||||
@@ -18,7 +18,7 @@
|
||||
baseline: 0.05em,
|
||||
inset: 0pt,
|
||||
outset: 0pt,
|
||||
) + h(0.3em)
|
||||
)
|
||||
}
|
||||
|
||||
let __emoji(emoji) = {
|
||||
@@ -26,7 +26,7 @@
|
||||
emoji,
|
||||
inset: 0pt,
|
||||
outset: 0pt,
|
||||
) + h(0.3em)
|
||||
)
|
||||
}
|
||||
|
||||
// configurations for languages
|
||||
@@ -643,9 +643,9 @@
|
||||
tsx: (name: "TSX", color: rgb("#007acc"), icon: __icon("typescript.svg")), //Devicons
|
||||
typescriptreact: (name: "React", color: rgb("#61dafb"), icon: __icon("react.svg")), //Devicons
|
||||
//Typst
|
||||
typst: (name: "Typst", color: rgb("#8b70c3"), icon: __icon("typst.svg")), //Typst
|
||||
typst: (name: "Typst", color: rgb("#458fa0"), icon: __icon("typst.svg")), //Typst
|
||||
typ: (name: "Typst", color: rgb("#458fa0"), icon: __icon("typst.svg")), //Typst
|
||||
typc: (name: "Typst", color: rgb("#8b70c3"), icon: __icon("typst.svg")), //Typst
|
||||
typc: (name: "Typst", color: rgb("#458fa0"), icon: __icon("typst.svg")), //Typst
|
||||
typm: (name: "Typst", color: rgb("#458fa0"), icon: __icon("typst.svg")), //Typst
|
||||
//UML
|
||||
uml: (name: "UML", color: rgb("#452e7f"), icon: __icon("unifiedmodelinglanguage.svg")), //Devicons
|
||||
|
||||
|
After Width: | Height: | Size: 240 KiB |
|
After Width: | Height: | Size: 250 KiB |
|
After Width: | Height: | Size: 214 KiB |
|
After Width: | Height: | Size: 198 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 215 KiB |
|
After Width: | Height: | Size: 214 KiB |
|
After Width: | Height: | Size: 206 KiB |
|
After Width: | Height: | Size: 269 KiB |
|
After Width: | Height: | Size: 207 KiB |
|
After Width: | Height: | Size: 192 KiB |
|
After Width: | Height: | Size: 222 KiB |
|
After Width: | Height: | Size: 216 KiB |
|
After Width: | Height: | Size: 188 KiB |
|
After Width: | Height: | Size: 196 KiB |
|
After Width: | Height: | Size: 175 KiB |
|
After Width: | Height: | Size: 219 KiB |
|
After Width: | Height: | Size: 185 KiB |
|
After Width: | Height: | Size: 179 KiB |
@@ -1,4 +1,4 @@
|
||||
#import "@preview/codly:1.2.0": *
|
||||
#import "@preview/codly:1.3.0": *
|
||||
#import "/lib.typ": *
|
||||
#show: codly-init
|
||||
#codly(languages: codly-languages)
|
||||
|
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 254 KiB |
@@ -1,5 +1,5 @@
|
||||
#import "/lib.typ": *
|
||||
#import "@preview/codly:1.2.0": *
|
||||
#import "@preview/codly:1.3.0": *
|
||||
#show: codly-init
|
||||
#codly(languages: codly-languages)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "codly-languages"
|
||||
version = "0.1.8"
|
||||
version = "0.1.9"
|
||||
entrypoint = "lib.typ"
|
||||
authors = ["Stephen Waits <steve@waits.net>"]
|
||||
license = "MIT"
|
||||
|
||||
@@ -41,7 +41,7 @@ different goals:
|
||||
### Import the package
|
||||
|
||||
```typst
|
||||
#import "@preview/glossy:0.7.0": *
|
||||
#import "@preview/glossy:0.8.0": *
|
||||
```
|
||||
|
||||
### Defining Glossary Terms
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "glossy"
|
||||
version = "0.7.0"
|
||||
version = "0.8.0"
|
||||
compiler = "0.13.0"
|
||||
entrypoint = "lib.typ"
|
||||
authors = ["Stephen Waits <steve@waits.net>"]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
RSYNC_OPTS="--archive --delete --itemize-changes --human-readable"
|
||||
|
||||
# Set the destination base directory
|
||||
DEST_DIR="$HOME/Code/forks/typst-packages-fork/packages/preview"
|
||||
DEST_DIR="$HOME/Code/typst-packages-fork/packages/preview"
|
||||
|
||||
# Ensure the destination base directory exists
|
||||
mkdir -p "$DEST_DIR"
|
||||
|
||||