From 62c2523aec949a02b03de2aef003a9554edab5dd Mon Sep 17 00:00:00 2001 From: Domagoj Kriskovic Date: Wed, 10 Jun 2026 17:34:09 +0200 Subject: [PATCH] Add table support for visual markdown editor GitOrigin-RevId: b36f575d40b19fdf32622c9923cecd5b47658d5d --- .../js/features/source-editor/languages/markdown/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/frontend/js/features/source-editor/languages/markdown/index.ts b/services/web/frontend/js/features/source-editor/languages/markdown/index.ts index 23d3597967..955f8b38c8 100644 --- a/services/web/frontend/js/features/source-editor/languages/markdown/index.ts +++ b/services/web/frontend/js/features/source-editor/languages/markdown/index.ts @@ -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, [