mirror of
https://github.com/vale981/recommonmark
synced 2025-03-05 10:01:39 -05:00
Fix linting errors
This commit is contained in:
parent
1888e2fed4
commit
a9b9dbe01f
1 changed files with 1 additions and 2 deletions
|
@ -197,7 +197,7 @@ class AutoStructify(transforms.Transform):
|
|||
if not isinstance(content, nodes.Text):
|
||||
return None
|
||||
content = content.astext().strip()
|
||||
if content.startswith('$') and content.endswith('$'):
|
||||
if content.startswith('$') and content.endswith('$'):
|
||||
if not self.config['enable_inline_math']:
|
||||
return None
|
||||
content = content[1:-1]
|
||||
|
@ -208,7 +208,6 @@ class AutoStructify(transforms.Transform):
|
|||
else:
|
||||
return None
|
||||
|
||||
|
||||
def auto_code_block(self, node):
|
||||
"""Try to automatically generate nodes for codeblock syntax.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue