Skip to content

Commit adb64be

Browse files
First working version
1 parent dbbcb66 commit adb64be

39 files changed

+352
-67
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Typst
22

3-
**TODO: Add description**
3+
This library interfaces with the Typst typesetting rust library
44

55
## Installation
66

lib/typst.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ defmodule Typst do
4444
"""
4545
def render_to_pdf(typst_markup, bindings \\ [], opts \\ []) do
4646
extra_fonts = Keyword.get(opts, :extra_fonts, []) ++ @embedded_fonts
47-
markup = render_to_string(typst_markup, bindings)
47+
48+
markup =
49+
render_to_string(typst_markup, bindings)
50+
4851
Typst.NIF.compile(markup, extra_fonts)
4952
end
5053

0 commit comments

Comments
 (0)