Rendered Markdown differ.
require "markdiff"
differ = Markdiff::Differ.new
node = differ.render("<p>a</p>", "<p>b</p>")
node.to_html #=> '<div class="changed"><p><del>a</del><ins>b</ins></p></div>'
See spec/markdiff/differ_spec.rb for more examples.
Execute ruby example/app.rb
to run demo app.