-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
upstream update pendingTo work on this, we are waiting for updates of upstream dependenciesTo work on this, we are waiting for updates of upstream dependencies
Description
Describe the bug
I try to a add a repository where no icon exists inside font-awesome, the example toml and the code suggest that image should be used for this. but if I set it like its mentioned inside the toml file, I get an error from the toml parser:
error: failed to parse TOML (invalid string
expected `"`, `'` at line 63 column 15)
┌─ cv.typ:3:21
│
3 │ #let metadata = toml("./metadata.toml")
│ ^^^^^^^^^^^^^^^^^
and if i only provide the string, then I get an error from the lib:
error: type string has no method `with`
┌─ @preview/brilliant-cv:2.0.5/cv.typ:99:21
│
99 │ icon = img.with(width: 10pt)
To Reproduce
Steps to reproduce the behavior:
- add a
personal.info.custom-1entry - try to add an image entry for that entry
- compile
Expected behavior
Have the lib parse a path into an image instead of expecting it to be an image instance after toml parsing
Metadata
Metadata
Assignees
Labels
upstream update pendingTo work on this, we are waiting for updates of upstream dependenciesTo work on this, we are waiting for updates of upstream dependencies