ratride
v1.2.1
Published
WASM-based markdown slide presenter
Readme
ratride
WASM-based markdown slide presenter for the browser.
Install
npm install ratrideUsage
import { run } from "ratride";
const instance = await run(markdownString, {
parent: document.getElementById("app"),
theme: "mocha",
fontSize: 16,
});
// Cleanup
instance.destroy();Options
| Option | Type | Default | Description |
| ---------- | ------------- | --------------- | -------------------- |
| parent | HTMLElement | document.body | Container element |
| theme | string | "mocha" | Catppuccin theme |
| fontSize | number | 16 | Base font size in px |
License
MIT
