Clemens-E / obsidian-languagetool-plugin

languagetool plugin for obsidian
GNU Affero General Public License v3.0
468 stars 37 forks source link

Suggestion based on words at end of line & beginning of next #45

Closed JasonSooter closed 9 months ago

JasonSooter commented 2 years ago

First, Thanks for the plugin @Clemens-E and for the contribution to update to Live Preview @mgmeyers!

Occasionally (I've not determined the pattern), the checker will make a suggestion based on a merge of the end of one line and the beginning of another.

Here's a screenshot: 2021-12-28_17-43-30

I tried adding a blank line, then deleting it, and it then made the same suggestion again.

Any ideas? Let me know if I can help with any specific troubleshooting.

mgmeyers commented 2 years ago

Hmm, I'm unable to reproduce this @functionalStoic. Could you send the exact markdown from the image above?

JasonSooter commented 2 years ago

Hi @mgmeyers, Let me know if the below gives you what you need or if I can provide anything further (console, developer tools, etc.)

- Hmm, let's try to reproduce
    - i.e. how about now
    - i.e. like this
    - something besides i.e. though?
    - Does e.g. do it?
        - Apparently not
- No
    - i.e. hello
- well hmm
- Wait for it
    - because it may happen
- However
    - it might happen here awaiting a comma
- But it didn't

(without outliner)
Hmm, let's try to reproduce
i.e. how about now
Yes
2022-01-01_16-06-30

Notes: Obsidian Version:

gabrielwhite commented 2 years ago

Same issue here:

Screen Shot 2022-06-29 at 1 14 44 PM

Obsidian 0.14.15 Languagetool Plugin 0.2.7

I have a self-hosted languagetool (https://hub.docker.com/r/erikvl87/languagetool), running v5.7)

mzietlow commented 2 years ago

I'd love to use the extension, but I am having a similar issue with the Rule UPPERCASE_SENTENCE_START. I tried disabling it (+ restarting Obsidian), but whenever I start typing beneath a heading, LT suggests to lower case the next letter:

image

Obsidian Version: 0.15.9 Plugin Version: 0.3.0 + default LT endpoint (https://api.languagetool.org)

mzietlow commented 1 year ago

Turns out I've got it all wrong. Following the basic markdown guidelines (especially putting blank lines after headings...) my issue vanished into thin air.