Syntax highlighted diffs in issues/comments/wiki
Created by: juangamnik
It would be nice, to be able to write a code snippet with diff information what has been (or needs to be) changed instead of putting two code snippets one after another. A possible syntax might be to add a +
or -
sign before a line (or a space in order to differentiate between a diff sign and a private/public method definition in obejctive-c, for eyample) and it is interpreted accordingly. Example:
func foo() {
- println("foo")
+ println("bar")
}