You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ echo '> **NOTE**' | mdformat --check -
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.12/mdformat", line 8, in <module>
sys.exit(run())
^^^^^
File "/usr/lib/python3.12/site-packages/mdformat/__main__.py", line 8, in run
exit_code = mdformat._cli.run(sys.argv[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mdformat/_cli.py", line 70, in run
formatted_str = mdformat.text(
^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mdformat/_api.py", line 31, in text
rendering = mdit.render(md)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/markdown_it/main.py", line 291, in render
return self.renderer.render(self.parse(src, env), self.options, env)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/markdown_it/main.py", line 276, in parse
self.core.process(state)
File "/usr/lib/python3.12/site-packages/markdown_it/parser_core.py", line 45, in process
rule(state)
File "/usr/lib/python3.12/site-packages/markdown_it/rules_core/block.py", line 13, in block
state.md.block.parse(state.src, state.md, state.env, state.tokens)
File "/usr/lib/python3.12/site-packages/markdown_it/parser_block.py", line 110, in parse
self.tokenize(state, state.line, state.lineMax)
File "/usr/lib/python3.12/site-packages/markdown_it/parser_block.py", line 85, in tokenize
if rule(state, line, endLine, False):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/markdown_it/rules_block/blockquote.py", line 280, in blockquote
state.md.block.tokenize(state, startLine, nextLine)
File "/usr/lib/python3.12/site-packages/markdown_it/parser_block.py", line 85, in tokenize
if rule(state, line, endLine, False):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mdformat_obsidian/mdit_plugins/_obsidian_callouts.py", line 95, in alert_logic
result = parser_func(state, startLine, endLine, silent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mdformat_obsidian/factories/_obsidian_blockquote_factories.py", line 94, in parse_possible_blockquote_admon
folded=bool(match["folded"]),
~~~~~^^^^^^^^^^
IndexError: no such group
This very usual callout:
> **NOTE**
result in a crash:
Installed versions:
The text was updated successfully, but these errors were encountered: