Do not format user inputs
Currently, in Lumo my user input is formatted in e.g. markdown when the app "recognizes" that it is markdown. However, it is not. I am working with files that have comments at the top starting with # and it is falsy detected as markdown. Please keep the user input as raw text.
-
Sander
commented
Some formatting is useful to make it easier to read what you wrote yourself, but it shouldn't auto format everything. For me the issue is when I paste code with indentation, such as Python. The indented bits (methods in classes) get formatted as code, but to level statements (imports, `class Foo` etc) not. It doesn't make a difference if I try to use ``` fences, it always gets formatted in the input box when I paste.
Some formatting can still be useful, such as with code or quote blocks, like how Claude does it, but Lumo shouldn't expect the full text to be markdown.