-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
24 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ import { | |
userscriptMetadataGenerator, | ||
} from "esm.sh/[email protected]"; | ||
import packageJson from "./package.json" with { type: "json" }; | ||
import { requiredLibs } from "./src/userscript-meta.ts"; | ||
export function meta(): string { | ||
const metadata: Metadata = { | ||
name: "notion-kroki", | ||
|
@@ -16,6 +17,7 @@ export function meta(): string { | |
license: "MIT", | ||
match: ["*://www.notion.so/*", "*://*.notion.site/*", "*://*.super.site/*"], | ||
supportURL: "https://github.com/zuisong/notion-kroki/issues", | ||
require: requiredLibs, | ||
"run-at": "document-idle", | ||
author: "zuisong", | ||
description: "Render notion code block as graph by kroki", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,10 +18,10 @@ | |
</div> | ||
</div> | ||
</div> | ||
<div id="change"></span> | ||
<div id="change"></div> | ||
|
||
<script src="https://unpkg.com/[email protected]/umd/index.js"></script> | ||
<script src="./notion-kroki.user.js"></script> | ||
</body> | ||
|
||
</html> | ||
</html> |
Oops, something went wrong.