Skip to content

Commit

Permalink
Add markdown support
Browse files Browse the repository at this point in the history
  • Loading branch information
patricoferris committed Mar 19, 2024
1 parent 8fe4891 commit 0cd3d0a
Show file tree
Hide file tree
Showing 6 changed files with 6,567 additions and 72 deletions.
Binary file added example/src/index.bc-for-jsoo
Binary file not shown.
6,292 changes: 6,292 additions & 0 deletions example/src/index.bc.js

Large diffs are not rendered by default.

39 changes: 24 additions & 15 deletions includes/bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions includes/includes.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import * as autocomplete from "@codemirror/autocomplete"
import * as dark from "@codemirror/theme-one-dark"
import * as language from "@codemirror/language"
import { oCaml } from "@codemirror/legacy-modes/mode/mllike"
import { markdown } from "@codemirror/lang-markdown"

joo_global_object.__CM__view = EditorView;
joo_global_object.__CM__state = EditorState;
Expand All @@ -16,3 +17,4 @@ joo_global_object.__CM__basic_setup = basicSetup
joo_global_object.__CM__dark = dark;
joo_global_object.__CM__stream_parser = language;
joo_global_object.__CM__mllike = oCaml;
joo_global_object.__CM__markdown = markdown;
Loading

0 comments on commit 0cd3d0a

Please sign in to comment.