mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Render Markdown live in every console answer box
AI Assisted
This commit is contained in:
1 parent
c26759fd88
commit
2acfd8907d
21 files changed
+598
-177
No files matched your search
@@ -44,11 +44,12 @@ export const HEADER =
|
||||
.join(", ") +
|
||||
" */\n";
|
||||
|
||||
// What the page may import: exactly what notepad-editor.js uses, since an
|
||||
// entry export is never tree-shaken. indentWithTab is left out on purpose: it
|
||||
// would trap the Tab key and keyboard users could not leave the editor.
|
||||
// What the page may import: exactly what notepad-editor.js and md-field.js
|
||||
// use, since an entry export is never tree-shaken. indentWithTab is left out
|
||||
// on purpose: it would trap the Tab key and keyboard users could not leave
|
||||
// the editor.
|
||||
export const ENTRY = `export { Compartment, EditorState } from "@codemirror/state";
|
||||
export { Decoration, EditorView, ViewPlugin, WidgetType, keymap } from "@codemirror/view";
|
||||
export { Decoration, EditorView, ViewPlugin, WidgetType, keymap, placeholder } from "@codemirror/view";
|
||||
export { markdown, markdownLanguage } from "@codemirror/lang-markdown";
|
||||
export { syntaxTree } from "@codemirror/language";
|
||||
export { defaultKeymap, history, historyKeymap, redo } from "@codemirror/commands";
|
||||
|
||||
Reference in new issue
Block a user