Skip to content

Releases: 0xpapercut/wypst

0.0.8

03 May 22:42
Compare
Choose a tag to compare

The library has switched its building system to esbuild, and as a result I've been able to sort out some wasm loading issues. It is now very simple to load wypst:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/wypst@0.0.8/dist/wypst.min.css" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/wypst@0.0.8/dist/wypst.min.js" crossorigin="anonymous"></script>

<script>
    wypst.initialize().then(() => {
        console.log(wypst.renderToString("x + y")); // Test it out!
    })
</script>

As the build process and library exposure has become more solid, I will fix pending bugs and implement missing futures. Tune in for the next updates.