src/eric7/UI/Previewers/MarkdownExtensions.py

branch
eric7
changeset 10060
b946699e9e79
parent 9786
f94b530722af
child 10069
435cc5875135
equal deleted inserted replaced
10059:9e3452188615 10060:b946699e9e79
19 ## Original code Copyright 2018-2020 [Olivier Ruelle] 19 ## Original code Copyright 2018-2020 [Olivier Ruelle]
20 ## License: GNU GPLv3 20 ## License: GNU GPLv3
21 ###################################################################### 21 ######################################################################
22 22
23 MermaidRegex = re.compile(r"^(?P<mermaid_sign>[\~\`]){3}[ \t]*[Mm]ermaid[ \t]*$") 23 MermaidRegex = re.compile(r"^(?P<mermaid_sign>[\~\`]){3}[ \t]*[Mm]ermaid[ \t]*$")
24 MermaidRegexFullText = re.compile(r"([\~\`]){3}[ \t]*[Mm]ermaid") 24 MermaidRegexFullText = re.compile(r"([\~\`]){3}[ \t]*[Mm]ermaid") # noqa:U200
25 25
26 26
27 class MermaidPreprocessor(Preprocessor): 27 class MermaidPreprocessor(Preprocessor):
28 """ 28 """
29 Class implementing a markdown pre-processor for Mermaid. 29 Class implementing a markdown pre-processor for Mermaid.

eric ide

mercurial