mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Add table support for visual markdown editor
GitOrigin-RevId: b36f575d40b19fdf32622c9923cecd5b47658d5d
This commit is contained in:
committed by
Copybot
parent
95e0a88bbb
commit
62c2523aec
@@ -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, [
|
||||
|
||||
Reference in New Issue
Block a user