valentjn / ltex-ls

LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
764 stars 33 forks source link

Markdown inline footnotes #297

Open RyanGibb opened 7 months ago

RyanGibb commented 7 months ago

Describe the bug

The plugin doesn't recognise markdown inline footnotes.

E.g.

The Zotero Firefox [connector](https://www.zotero.org/download/connectors)^[Plugins are available for other browsers.] lets me add papers from URLs.

Gives

This sentence does not start with an uppercase letter. (UPPERCASE_SENTENCE_START) [1, 120]

Expected behavior

I think the correct behaviour would be for the footnote the be parsed as a separate sentence.

LTeX configuration

``` settings = { ltex = { language = 'en-GB', disabledRules = { ['en-GB'] = { 'MORFOLOGIK_RULE_EN_GB', 'OXFORD_SPELLING_Z_NOT_S', }, }, }, }, ```

Version information List here the version information of the relevant software.