Skip to content

Releases: pearmini/genji

0.2.3 (May 04, 2024)

04 May 02:03
ce1af31
Compare
Choose a tag to compare

Documentation

Genji Runtime

Full Changelog: 0.2.2...0.2.3

0.2.2 (April 27, 2024)

27 Apr 02:42
debed75
Compare
Choose a tag to compare

Documentation

Add the showcase page! If your are building something cool with Markdown Genji, please add it here!

image

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:

image

Full Changelog: 0.2.1...0.2.2

0.2.1 (Apr 13, 2024)

13 Apr 02:26
f5fe94d
Compare
Choose a tag to compare

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)

01 Apr 14:40
408587d
Compare
Choose a tag to compare

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.

iShot_2024-04-01_22 30 10

0.1.3

14 Sep 02:34
74e506f
Compare
Choose a tag to compare

What's Changed

  • fix(dep): move object-hash from the top-level package.json to genji-notebook package.json by @pearmini in #63

Full Changelog: 0.1.2...0.1.3

0.1.2

14 Sep 01:19
7581f16
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.11...0.1.2

0.1.11

15 Aug 00:49
8ff0ec5
Compare
Choose a tag to compare

What's Changed

  • fix(genji-notebook): fail to jump through url link (close: #54) by @pearmini in #59

Full Changelog: 0.1.0...0.1.11

0.1.0

01 Jul 06:05
8d7aed8
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.0.11...0.1.0

0.0.11

31 May 03:10
599163b
Compare
Choose a tag to compare
0.0.11 Pre-release
Pre-release

What's Changed

Full Changelog: 0.0.10...0.0.11

0.0.10

26 May 02:32
b685d5a
Compare
Choose a tag to compare
0.0.10 Pre-release
Pre-release

What's Changed

Full Changelog: 0.0.9...0.0.10