dynobo / normcap

OCR powered screen-capture tool to capture information instead of images
https://dynobo.github.io/normcap/
Other
1.9k stars 88 forks source link

Add option to parse text as one line #613

Open fligro opened 6 months ago

fligro commented 6 months ago

Describe your problem:

I find myself often pasting text from normcap into obsidian markdown docukments. Any line breaks captured must be manually removed, and this is obnoxious.

Solution you'd like to see:

Add an option to format text as a single line.

Alternatives you considered:

No response

Additional information or remarks:

No response

dynobo commented 4 months ago

Hi @fligro, thanks for reporting this issue.

I'm afraid I don't fully understand: do you want to have all linebreaks removed? Or do you get additional linebreaks (e.g. within a paragraph), that shouldn't be there?

If you could share a screenshot of a text that shows this behavior, along with the recognized text and what you would expect instead, that would help me a lot!

Thanks!

LKirst commented 1 month ago

Hi @dynobo,

I don't know about @fligro, but for me, an option removing all line breaks would probably be the simplest solution because I miss this feature most when I just want to copy a single paragraph, which is then captured as multiple lines instead of one.

For example, if I try to grab the second paragraph from your message, I get two lines (with a line break after what you would):

If you could share a screenshot of a text that shows this behavior, along with the recognized text and what you would
expect instead, that would help me a lot!

image