mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-03 08:28:54 -04:00

organized repository Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Co-authored-by: Philip Molares <git@molar.es>
8 lines
217 B
TypeScript
8 lines
217 B
TypeScript
import MarkdownIt from 'markdown-it/lib'
|
|
|
|
export const MarkdownItParserDebugger: MarkdownIt.PluginSimple = (md: MarkdownIt) => {
|
|
md.core.ruler.push('test', (state) => {
|
|
console.log(state)
|
|
return true
|
|
})
|
|
}
|