pjullrich/ogi
PUBLIC
v0.2.2
- Renamed
Ogi.Cache.clean!to simplyOgi.Cache.cleansince it will never raise. - Fixed
Ogi.Cache.clean()exception if cache folder doesn't exist.
v0.2.1
- Added documentation and tests
v0.2.0
Breaking changes
- Typst options passed to
Ogi.render_to_png/4must be nested undertypst_optsnow:
# Before
opts = [root_dir: "priv/typst"]
Ogi.render_to_png(filename, markup, assigns, opts)
# After
opts = [typst_opts: [root_dir: "priv/typst"]]
Ogi.render_to_png(filename, markup, assigns, opts)
Additions
- Add
fallback_image_pathandcache_dirconfig options. - Validate options received in
Ogi.render_to_png/4 - Add Quokka for consistent formatting (๐๐๐ Mr. G.W.)
v0.1.0
- Added
render_to_png/4andrender_image/5for rendering images using Typst from your controller - Added basic caching without clean-up