mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-25 12:34:45 -04:00
feat: add linter and linterGutter (#2237)
Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
57cc08739d
commit
1bd18cc0ee
33 changed files with 471 additions and 182 deletions
|
@ -7,6 +7,7 @@
|
|||
import type MarkdownIt from 'markdown-it'
|
||||
import type { NodeProcessor } from '../node-preprocessors/node-processor'
|
||||
import type { ComponentReplacer } from '../replace-components/component-replacer'
|
||||
import type { Linter } from '../../editor-page/editor-pane/linter/linter'
|
||||
|
||||
/**
|
||||
* Base class for Markdown extensions.
|
||||
|
@ -33,4 +34,8 @@ export abstract class MarkdownExtension {
|
|||
public buildTagNameWhitelist(): string[] {
|
||||
return []
|
||||
}
|
||||
|
||||
public buildLinter(): Linter[] {
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue