generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
| const section: null | { lineStart: number, lineEnd: number } = this.view.previewMode.renderer.sections.find(x => x.el == parent); |
In here, the output of
section is
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
