0.2.1 (Apr 13, 2024)
Genji Runtime
Extract the core part of genji-theme-vitepress into a separate package called genji-runtime (#184), in preparation for supporting more SSGs with Markdown Genji in the future.
import { Page } from "genji-runtime";
import "genji-runtime/css";
const page = new Page(options);
page.render();
Genji Theme Vitepress
Export genjiAttrs (#180) to work with other Markdown plugins in VitePress:
// .vitepress/config.js
import { genjiAttrs } from "genji-theme-vitepress/config";
import otherMarkdownPlugin from "other-markdown-plugin";
export default {
extends: config,
markdown: {
config: (md) => {
md.use(otherMarkdownPlugin);
md.use(genjiAttrs);
},
},
};
Full Changelog: 0.2.0...0.2.1