-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web: add imports and styles for codejar
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -6,7 +6,9 @@ | |
<link href="/app/main.css" rel="stylesheet"></link> | ||
<link rel="icon" href="/icon.png" type="image/x-icon" /> | ||
<link rel="manifest" href="/app/main.webmanifest" /> | ||
<link href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap" rel="stylesheet" /> | ||
<link href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Source+Code+Pro&display=swap" rel="stylesheet" /> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/railscasts.min.css" rel="stylesheet" /> | ||
<script src="/vnd/mithril-2.0.3.min.js"></script> | ||
<script src="/vnd/minisearch-6.0.1.min.js"></script> | ||
<script src="/analytics.js"></script> | ||
|
@@ -19,6 +21,10 @@ | |
<script type="module"> | ||
import { Editor } from "/vnd/codemirror-6.0.1.min.js"; | ||
window.Editor = Editor; | ||
import { CodeJar } from "https://cdn.jsdelivr.net/npm/[email protected]/+esm"; | ||
window.CodeJar = CodeJar; | ||
window.backend = {{ backend | safe }}; | ||
</script> | ||
<script src="/app/main.js" type="module"></script> | ||
|
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