monoshot@0.0.3
·
86 commits
to main
since this release
Patch Changes
-
fdc7f5c: Added fixed-height rendering to document and image routes so shared-link previews retain consistent dimensions regardless of snippet length.
-
5fb0bc4: Read the compiler's lib files from the installed package in Node rather than fetching them, so resolution no longer depends on a network that can throttle it.
-
32ef06f: Raised the default render scale to 3 and turned the title bar off by default, leaving both settable.
-
eeefa6a: Added SVG output to the renderer and the command, written as vector markup rather than a raster.
import * as Headless from 'monoshot/headless' const svg = await Headless.render({ code: 'const a = 1', lang: 'ts', theme: 'vitesse-dark', type: 'svg', })
-
f37fd5d: Added a Tempo theme, composed from Tempo's own artwork.