eric6.UI.Previewers.MarkdownExtensions
Module implementing some Markdown extensions.
Global Attributes
MermaidRegex |
MermaidRegexFullText |
Classes
Functions
MermaidExtension
Class implementing a Markdown Extension for Mermaid.
Derived from
Extension
Class Attributes
Class Methods
Methods
Static Methods
MermaidExtension.extendMarkdown
extendMarkdown(md, md_globals)
Public method to register the extension.
- md
-
reference to markdown
- md_globals
-
global config parameters
MermaidPreprocessor
Class implementing a markdown pre-processor for Mermaid.
Derived from
Preprocessor
Class Attributes
Class Methods
Methods
run |
Public method to do the pre-processing. |
Static Methods
MermaidPreprocessor.run
run(lines)
Public method to do the pre-processing.
- lines (list of str)
-
text lines to be processed
- Returns:
-
processed lines
- Return Type:
-
list of str
SimplePatternExtension
Class implementing a Markdown extension for ~, ~~, ^, ^^ and ==.
Note: This is a very simple pattern extension that might conflict with
formulas set for MathJax. Use the 'pymdown-extensions' package in this
case.
Derived from
Extension
Class Attributes
DEL_RE |
INS_RE |
MARK_RE |
SUB_RE |
SUP_RE |
Class Methods
Methods
Static Methods
SimplePatternExtension.extendMarkdown
extendMarkdown(md)
Public method to register the extension.
- md
-
reference to markdown