No description
Find a file
2025-10-09 12:57:55 +08:00
.github/workflows chore: update GitHub Actions workflow to use action-gh-release for creating releases 2025-10-09 12:57:55 +08:00
images docs: enhance README with usage instructions and example graph 2025-10-09 12:40:52 +08:00
src fix: fallback to setting height and width for graph 2025-10-09 12:19:09 +08:00
.editorconfig init repo 2025-10-09 01:53:36 +08:00
.eslintignore init repo 2025-10-09 01:53:36 +08:00
.eslintrc init repo 2025-10-09 01:53:36 +08:00
.gitignore init repo 2025-10-09 01:53:36 +08:00
.npmrc init repo 2025-10-09 01:53:36 +08:00
.prettierignore init repo 2025-10-09 01:53:36 +08:00
.prettierrc.yaml init repo 2025-10-09 01:53:36 +08:00
esbuild.config.mjs init repo 2025-10-09 01:53:36 +08:00
eslint.config.mjs init repo 2025-10-09 01:53:36 +08:00
LICENSE init repo 2025-10-09 01:53:36 +08:00
main.ts init repo 2025-10-09 01:53:36 +08:00
manifest.json v1.0.1 2025-10-09 12:48:40 +08:00
package.json v1.0.1 2025-10-09 12:48:40 +08:00
README.md fix: correct link formatting in README for JessieCode 2025-10-09 12:41:54 +08:00
styles.css init repo 2025-10-09 01:53:36 +08:00
tsconfig.json init repo 2025-10-09 01:53:36 +08:00
version-bump.mjs init repo 2025-10-09 01:53:36 +08:00
versions.json v1.0.1 2025-10-09 12:48:40 +08:00
yarn.lock init repo 2025-10-09 01:53:36 +08:00

Obsidian JessieCode

Plugin of Obsidian that creates interactive graphs described by JessieCode.

What is JessieCode?

JessieCode is a script language for JSXGraph, for describing interactive graphs.

A = point(1, 0);
B = point(-1, 0);
C = point(0.2, 1.5);
L_AB = line(A, B);
L_AC = line(A, C);
K_ABC = circle(A, B, C);

How to use

To create a graph create a code block with the language set to jessiecode. You can also use YAML frontmatter to set the width and height of the graph, or other attributes defined in the JSXGraph documentation.

```jessiecode
---
width: 500
height: 400
boundingBox: [-5, 4, 5, -4]
---
A = point(3, -2);
B = point(-3, -1);
C = point(1, 3);
line(A, B);
segment(A, C);
circle(A, B, C);
```

And it will be rendered as:

Example graph

Bugs

If you find any bugs with this plugin please create a new issue so that they can be resolved.

Contributing

If you want to contribute please create an issue or pull request.

Attribution

This plugin uses