Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b84900ffc1
|
||
|
|
0e6d002839
|
||
|
|
7b7fd2e53f | ||
|
|
1d83997ec3
|
||
|
|
435136303f |
No files matched your search
@@ -13,7 +13,7 @@ Configure `codly` with the languages. Like this:
|
|||||||
#import "@preview/codly:1.3.0": *
|
#import "@preview/codly:1.3.0": *
|
||||||
#show: codly-init
|
#show: codly-init
|
||||||
|
|
||||||
#import "@preview/codly-languages:0.1.9": *
|
#import "@preview/codly-languages:0.1.10": *
|
||||||
#codly(languages: codly-languages)
|
#codly(languages: codly-languages)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -7,15 +7,14 @@
|
|||||||
// #import "@preview/codly:1.3.0": *
|
// #import "@preview/codly:1.3.0": *
|
||||||
// #show: codly-init
|
// #show: codly-init
|
||||||
//
|
//
|
||||||
// #import "codly-languages.typ:0.1.9": *
|
// #import "codly-languages.typ:0.1.10": *
|
||||||
// #codly(languages: codly-languages)
|
// #codly(languages: codly-languages)
|
||||||
// ```
|
// ```
|
||||||
#let codly-languages = {
|
#let codly-languages = {
|
||||||
// helper function which takes an image filename and creates an icon
|
// helper function which takes an image filename and creates an icon
|
||||||
let __icon(image-filename) = {
|
let __icon(image-filename) = {
|
||||||
box(
|
box(
|
||||||
image("icons/" + image-filename, height: 0.9em),
|
image("icons/" + image-filename, height: 130%, fit: "contain"),
|
||||||
baseline: 0.05em,
|
|
||||||
inset: 0pt,
|
inset: 0pt,
|
||||||
outset: 0pt,
|
outset: 0pt,
|
||||||
)
|
)
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 240 KiB After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 215 KiB After Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 206 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 269 KiB After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 102 KiB |
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "codly-languages"
|
name = "codly-languages"
|
||||||
version = "0.1.9"
|
version = "0.1.10"
|
||||||
entrypoint = "lib.typ"
|
entrypoint = "lib.typ"
|
||||||
authors = ["Stephen Waits <steve@waits.net>"]
|
authors = ["Stephen Waits <steve@waits.net>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||