Automattic / Automattic/harper
Ignore <code> and <pre>
- 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**
**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
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