MacDownApp / MacDownApp/macdown

Ignore spell-checking in code blocks

Open
#121 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement on hold upstream
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Is it possible to adjust the spell checking, so it won't mark everything in code fragments that are put in the markdown with single back ticks (v_args) or as blocks like the following one?

```c
int foo = EXIT_SUCCESS;
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the spell-checking path in the macOS Markdown editor and trace how inline backtick spans and fenced code blocks are represented. Verify the behavior against both examples in the issue; done means text inside those code fragments is no longer marked by spell-checking while surrounding prose still is.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, markdown, objective-c
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.