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

Fix Linter Running Against Non-Markdown Files in Some Instances #865

Merged
merged 4 commits into from
Aug 25, 2023

Conversation

pjkaufman
Copy link
Collaborator

Relates to #864

Changes Made:

  • Updated the logic to make sure it is only running the Linter against Mardkown files. Right now that definition is being limited to just files that end with the extension md.
  • Uses the file from the context to determine what file to run against

pjkaufman and others added 4 commits August 25, 2023 13:26
… works on and limited its file types that it runs on to just markdown files (.md) files
…hen checking the editor callback I have access to the plugin method for checking if a file is a markdown file
@pjkaufman pjkaufman added bug Something isn't working obsidian Obsidian specific syntax issue or feature labels Aug 25, 2023
@pjkaufman pjkaufman self-assigned this Aug 25, 2023
@pjkaufman pjkaufman merged commit 0fbb67f into platers:master Aug 25, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working obsidian Obsidian specific syntax issue or feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant