Dherse / codly

MIT License
124 stars 10 forks source link

Add tabler-icons guide to README and docs #33

Open doabell opened 4 weeks ago

doabell commented 4 weeks ago

(I'm using the https://typst.app/ web app - awesome package.)

The README.md example image and code don't match, until one finds a copy of tabler-icons.ttf and installs / uploads it.

  1. Can codly bundle the TTF or WOFF2 fonts so that the example works out of the box?
  2. It would be great to include a guide on how to use tabler-icons. Something like:
    1. Search for the desired icon on https://tabler.io/icons
    2. Click on the icon and note the hex, e.g. fa53 for brand-rust.
    3. Change fa53 to your icon's hex in icon: text(font: "tabler-icons", "\u{fa53}"),
    4. Download tabler-icons.ttf (perhaps from jsdelivr) and put it into Typst, more info here

Thanks.

Dherse commented 2 days ago

As far as I know, it's not possible to currently bundle fonts so no. I might rework the example to just not include that. I will include a small section in the README on how to get them. Thanks