Skip to content

0.0.8

Latest
Compare
Choose a tag to compare
@0xpapercut 0xpapercut released this 03 May 22:42
· 3 commits to main since this release

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/[email protected]/dist/wypst.min.css" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/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.