diff options
| author | Hizbu Azka <hanifan.azka@gmail.com> | 2026-10-21 14:31:59 +0700 |
|---|---|---|
| committer | Hizbu Azka <hanifan.azka@gmail.com> | 2026-10-21 15:11:13 +0700 |
| commit | 976c0d950461ab884a9d107659d3ba103d8cb269 (patch) | |
| tree | e86016b3d1c966fb3c11f16c52b99f0de56a5b94 /_includes | |
| parent | 8ad5216903950b5e3785b3729068ca48bd5232e0 (diff) | |
selfhost cm, add dark theme
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/cm-importmap.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/_includes/cm-importmap.html b/_includes/cm-importmap.html new file mode 100644 index 0000000..c0c7c99 --- /dev/null +++ b/_includes/cm-importmap.html @@ -0,0 +1,14 @@ +<link rel="modulepreload" href="{{ '/assets/cm/chunk-7PWEZHZB.js' | relative_url }}"> +<link rel="modulepreload" href="{{ '/assets/cm/chunk-I3OVNVKL.js' | relative_url }}"> +<link rel="modulepreload" href="{{ '/assets/cm/chunk-JULZPKSW.js' | relative_url }}"> +<script type="importmap"> +{ + "imports": { + "@codemirror/state": "{{ '/assets/cm/state.js' | relative_url }}?v=ea9398b90f", + "@codemirror/view": "{{ '/assets/cm/view.js' | relative_url }}?v=ea9398b90f", + "@codemirror/commands": "{{ '/assets/cm/commands.js' | relative_url }}?v=ea9398b90f", + "@codemirror/language": "{{ '/assets/cm/language.js' | relative_url }}?v=ea9398b90f", + "@uiw/codemirror-theme-github": "{{ '/assets/cm/theme.js' | relative_url }}?v=ea9398b90f" + } +} +</script> |