MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / render_old_html

Method render_old_html

atomic-core/src/diff/inline.rs:523–525  ·  view source on GitHub ↗

Render the old line with HTML highlighting. Returns HTML with ` ` tags for styling.

(&self)

Source from the content-addressed store, hash-verified

521 ///
522 /// Returns HTML with `<span>` tags for styling.
523 pub fn render_old_html(&self) -> String {
524 self.render_with_html(self.old_content, &self.old_hunks, "deleted")
525 }
526
527 /// Render the new line with HTML highlighting.
528 ///

Callers 1

Calls 1

render_with_htmlMethod · 0.80

Tested by 1