diff_to_markup: Create track changes diff

Description Usage Arguments

Description

Compares two strings and creates a diff using the markdown track changes syntax.

Usage

1
diff_to_markup(before, after, style = "critic")

Arguments

before

(character of length 1) The text before the changes.

after

(character of length 1) The text after the changes.

style

(character of length 1) The type of change tags to add. Either "critic" for Critical Markdown tags, or "pandoc" for the track change tags used by pandoc.


ropenscilabs/trackmd documentation built on May 20, 2019, 5:04 p.m.