Releases: pearmini/genji
0.2.3 (May 04, 2024)
0.2.2 (April 27, 2024)
Documentation
Add the showcase page! If your are building something cool with Markdown Genji, please add it here!
Genji Runtime
Add page.emit and page.on to communicate between the selected SSG and genji-runtime.
watch(
() => isDark.value,
() => {
page.emit("dark", isDark.value);
},
);
Genji Theme Vitepress
Add dark signal, which helps watch if the current theme is set to dark mode. (#194)
```js eval
(() => {
const div = document.createElement("div");
div.style.width = "100px";
div.style.height = "100px";
div.style.background = dark ? "#fff" : "#000";
return div;
})();
```
This produces:
Full Changelog: 0.2.1...0.2.2
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
0.2.0 (Mar 31, 2024)
Markdown Genji is the markdown extension for authoring interactive documents, named after the coolest hero in Overwatch. It is inspired by Observable Notebook and can be used in popular Static Site Generator (SSG) frameworks, such as VitePress, through the use of plugins and themes.
- Documentation - https://genji-md.dev/
- Features - https://genji-md.dev/what-is-genji
- Inspiration - https://genji-md.dev/why-genji
- Examples - https://genji-md.dev/examples/athletes-visualization
0.1.3
0.1.2
0.1.11
0.1.0
What's Changed
- feat(runtime): support reactive programming by @pearmini in #48
- fix: some bugs by @pearmini in #49
- feat(layout): notebook in the center of the main area by @pearmini in #50
- docs: update README for genji and genji-notebook by @pearmini in #51
- chore: update to 0.1.0 by @pearmini in #52
Full Changelog: 0.0.11...0.1.0