microJam – g2 Example | Triangle | About | Source

g2

Using g2 with Ī¼Jam is easy. A custom html element <g-2> with a predefined set of supported attributes can be injected in html as well as in md documents.

On top of that we get seamless integration into the markdown preview window of VSCode.

Fig.1: Using g2 inside of markdown with VSCode

You can see this here live. We can also combine <g-2> elements with inline scripts.

Fig.2: Combining g2 with markdown inline scripts

You can see that triangle live here.