Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix README formatting issue

  • Loading branch information...
commit 4b2817742b539e8d62e19ffef2a1e424f440004b 1 parent 6e9417c
Russell Belfer authored

Showing 1 changed file with 10 additions and 5 deletions. Show diff stats Hide diff stats

  1. +10 5 README.md
15 README.md
Source Rendered
... ... @@ -1,4 +1,5 @@
1   -= Port of google-diff-match-patch to C
  1 +Port of google-diff-match-patch to C
  2 +====================================
2 3
3 4 This is a C language port of Neil Fraser's google-diff-match-patch code.
4 5 His original code is available at:
@@ -17,7 +18,8 @@ This code is available at:
17 18 It is Copyright (c) 2012 Russell Belfer <rb@github.com> and licensed
18 19 under the MIT License. See the included LICENSE file.
19 20
20   -== Example Usage
  21 +Example Usage
  22 +-------------
21 23
22 24 All functions and structures used in this library are prefixed with
23 25 `dmp_`. To generate a diff, you use a function to create a `dmp_diff`
@@ -54,7 +56,8 @@ This shows the basic pattern of diff API usage:
54 56 2. Process the diff in some way
55 57 3. Free the diff
56 58
57   -== Diff API
  59 +Diff API
  60 +--------
58 61
59 62 All public functions in the library that could fail return an `int`
60 63 and will return 0 for success or -1 for failure. Functions which
@@ -146,14 +149,16 @@ extern int dmp_diff_foreach(
146 149 void *cb_ref);
147 150 ```
148 151
149   -== Status
  152 +Status
  153 +------
150 154
151 155 At this point, the basic diff code works, although I haven't implemented all
152 156 of the optimizations yet. I haven't written any of the diff formatting
153 157 helpers from the original library yet, nor have I started on the match or
154 158 patch related code yet.
155 159
156   -== Copyright and License
  160 +Copyright and License
  161 +---------------------
157 162
158 163 The original Google Diff, Match and Patch Library is licensed under
159 164 the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).

0 comments on commit 4b28177

Please sign in to comment.
Something went wrong with that request. Please try again.