diff --git a/lib.typ b/lib.typ new file mode 100644 index 0000000..d2f7329 --- /dev/null +++ b/lib.typ @@ -0,0 +1 @@ +#import "oxifmt.typ": strfmt diff --git a/tests/strfmt-tests.typ b/tests/strfmt-tests.typ index a7a17e8..e7a37ff 100644 --- a/tests/strfmt-tests.typ +++ b/tests/strfmt-tests.typ @@ -1,4 +1,5 @@ -#import "../oxifmt.typ": strfmt, using-0120 +#import "../lib.typ": strfmt +#import "../oxifmt.typ": using-0120 #{ // test basics (sequential args, named args, pos args) diff --git a/typst.toml b/typst.toml index 0174763..e8fe9f0 100644 --- a/typst.toml +++ b/typst.toml @@ -4,5 +4,5 @@ version = "0.3.0" authors = ["PgBiel "] license = "MIT OR Apache-2.0" description = "Convenient Rust-like string formatting in Typst" -entrypoint = "oxifmt.typ" +entrypoint = "lib.typ" repository = "https://github.com/PgBiel/typst-oxifmt"