|
|
@@ -1,7 +1,7 @@
|
|
|
import { markdown as markdownLanguage } from '@codemirror/lang-markdown'
|
|
|
import { shortcuts } from './shortcuts'
|
|
|
import { languages } from '../index'
|
|
|
-import { Strikethrough } from '@lezer/markdown'
|
|
|
+import { Strikethrough, Table } from '@lezer/markdown'
|
|
|
import {
|
|
|
HighlightStyle,
|
|
|
LanguageSupport,
|
|
|
@@ -12,7 +12,7 @@ import { tags } from '@lezer/highlight'
|
|
|
export const markdown = () => {
|
|
|
const { language, support } = markdownLanguage({
|
|
|
codeLanguages: languages,
|
|
|
- extensions: [Strikethrough],
|
|
|
+ extensions: [Strikethrough, Table],
|
|
|
})
|
|
|
|
|
|
return new LanguageSupport(language, [
|