Automattic / Automattic/harper

Enable Harper in Obsidian code blocks?

Open
#3,673 0 comments 0 reactions 0 assignees View on GitHub
obsidian-plugin
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

Is it possible for me to somehow re-enable harper running on code blocks? I'm using Obsidian in a way where most of the writing which requires spell check is within code blocks.

_"Unlike other offerings (like Grammarly) Harper also explicitly ignores the contents of code fences and inline code blocks."_

I've searched around but don't really understand if it's possible from https://github.com/Automattic/harper/pull/979

Contributor guide

Open the contributing guide

Research direction

Start by reading pull request #979 and the existing Obsidian integration behavior around code fences and inline code blocks. Determine how Harper currently excludes those regions and define a user-controlled way to enable checking them; done means Harper can check code-block content in Obsidian without changing its default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.