[BUG] Persistent output broken
Describe the bug Persistent output doesn't work
Software Version
tested on both windows 10 22H2 and fedora 41 kde on obsidian 1.9.12 and plugin version 2.1.2
To Reproduce
For a new vault, turn on persistent output.
have the file (without the \)
\```python
print(1)
\```
and run the code
Expected behavior
expect an output code block of: (without \)
\```output
1
\```
Additional context
https://github.com/twibiral/obsidian-execute-code/blob/1ad683d7b2013554c3863d9e843f9fd3b116c7c0/src/output/FileAppender.ts#L187
In here, the output of section is
.
It has the attributes
type start = {line: number, col: number};
type end = { line: number, col: number};
instead of lineEnd and lineStart.
I don't know when this api changed or if this across all devices so solution could be to check for both versions?
Thank you for reporting this! I think this should be a straightforward fix when I have some time for it