twibiral / obsidian-execute-code

Obsidian Plugin to execute code in a note.
MIT License
1.06k stars 67 forks source link

fix: reset current args #288

Closed qiaogaojian closed 8 months ago

qiaogaojian commented 1 year ago

I found that it will notice that "Error: named export b1 exported more than once` when code like this:

```python {label='b1'} code ``` ``` other code ```

it can be fixed by reset currentArgs.

twibiral commented 8 months ago

That's great, thank you a lot!