Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Filter aliased internal obsidian links #69

Open
putzwasser opened this issue Oct 2, 2022 · 0 comments
Open

Feature Request: Filter aliased internal obsidian links #69

putzwasser opened this issue Oct 2, 2022 · 0 comments

Comments

@putzwasser
Copy link

It would be nice if this plugin would "filter" aliased interal obsidian links ([[note title|displayed alias]]) so that only the alias would be part of the spell check.

Example
Say you got this sentence/paragraph:

Strategic management includes all [[a management function is a sub-task complex of corporate management|management functions]].

Most of the time this will trigger the ReadabilityRule and lead to the following spell check result:

Readability: The text of this paragraph is too difficult {Level 1: Difficult}. Too many words per sentence and too many syllables per word.

Possible solution
"Filter" the checked text/string and pass only this string to languagetool:

Strategic management includes all management functions.

You'd probably need some sort of map to insert the spell check results at the right positions after this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant