Darren-project/obsidian-kv

[FR] Improve the text input in Settings

Closed this issue · 8 comments

At the moment, the text input in the plugin’s settings page is small, and the plugin’s parsing seems to remove newlines and indentation which makes it slightly more difficult/tedious to edit the data.
A good example of the sort of improvements I think would be beneficial is the Latex Suite plugin by artisticat1. It uses data in a similar format, and it has an editor in the settings page that is larger, maintains formatting, and features syntax highlighting.
This is not super important, since I primarily see myself editing the data through JS, but it would be a nice QOL improvement

Sorry that I just saw this
Was busy building my infra

Can you point me to the settings design please

Sure, the code for Latex Suite's settings implementation is here. I've only spent a few minutes looking at it, and it seems fairly complex, but the first thing that stands out to me is that artisticat's design uses a codemirror EditorView instead of a simple text area

It is finally done
image

Very cool!