Options to add <ins> or <del> tag with custom class in result?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- web-dev
Research direction
Start at the htmlDiffer.diffHtml entry point and trace how the comparison result is rendered. Define how options should produce and tags with a custom class, then verify that the result matches the example output for changed HTML.
Written by the indexing model from the issue text.
Description
Anyway to print the result with <ins> and <del> tag?
var first = "<p>This is a paragraph</p>"
var second= "<p>This is a changed paragraph</p>"
var diff = htmlDiffer.diffHtml(first , second);
// Should result in
<p>This is a <ins>changed</ins> paragraph</p>
- Dominant language
- JavaScript
- Stars
- 217
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bem/html-differ
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
bem/html-differ#175 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
bem/html-differ#173 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
bem/html-differ#171 · 1 comment · 3 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
bem/html-differ#169 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
bem/html-differ#168 · 1 comment ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
neondatabase/website#5944 ·
-
module: core
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·