obsidian-codemirror-options
obsidian-codemirror-options copied to clipboard
[new function && bug] Line numbers show conflicts between functions and code running plugins
There is now an execute code plugin that can run python code in obsidian and see the results. However, the line number display function of this plugin will conflict with the execute code.
There is another code block enhancer's line number display function that supports the execution of python code, but that plugin has other bugs related to execute code.
I hope the author can modify the display of line numbers by referring to the code block enhancer, so that simple python code can be run in obsidian, which can save the trouble of opening the editor and building projects in many cases. Because interactive python is inconvenient to run some slightly longer python programs
If I turn off line number reality, python code can be run using execute code. The problem may be that the display of line numbers is not separated from the code in two areas. Maybe it's possible to put the row numbers and code in two parts of the table