Automattic / Automattic/harper

Ignore <code> and <pre>

Open
#3,801 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 12h
Merged PRs (30d)
106

Description

**What problem does this solve?**
Text that is within `` and `

` do not need to be evaluated in my opinion.

**Proposed Solution**
Unsure on technical solution. Effective solution is to ignore these formatting tags, or have the option to.

**Examples**

Image


Image

**Component**
- [x] Core engine
- [x] Plugin/Extension
- [ ] Other: _____

Unsure where exactly this applies. I am assuming core.

**Additional Context**
Surfaced while using Firefox extension, commenting on a site that uses Markdown formatting to render code blocks.

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior in the Firefox extension with Markdown code blocks, then trace how the core engine evaluates text inside and

 tags. Confirm the relevant core or plugin/extension entry point and existing tests before changing behavior; done means text in those tags is no longer evaluated, or the requested option is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, markdown, rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.