[Github-comments] [geany/geany-plugins] Markdown: replace Discount and PEG Markdown with CMark (#747)

Matthew Brush notifications at xxxxx
Thu May 24 08:52:58 UTC 2018


For future me, diffs from upstream:

```patch
@@ -1,10 +1,13 @@
 #ifndef CMARK_H
 #define CMARK_H
 
+#include <stdbool.h>
 #include <stdio.h>
-#include <cmark_export.h>
 #include <cmark_version.h>
 
+#define CMARK_EXPORT
+#define CMARK_INLINE inline
+
 #ifdef __cplusplus
 extern "C" {
 #endif
```

and

```patch
@@ -1,7 +1,7 @@
 #ifndef CMARK_VERSION_H
 #define CMARK_VERSION_H
 
-#define CMARK_VERSION ((@PROJECT_VERSION_MAJOR@ << 16) | (@PROJECT_VERSION_MINOR@ << 8)  | @PROJECT_VERSION_PATCH@)
-#define CMARK_VERSION_STRING "@PROJECT_VERSION_MAJOR at .@PROJECT_VERSION_MINOR at .@PROJECT_VERSION_PATCH@"
+#define CMARK_VERSION ((0 << 16) | (28 << 8)  | 3)
+#define CMARK_VERSION_STRING "0.28.3"
 
 #endif
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/747#issuecomment-391639860
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180524/944efa9d/attachment.html>


More information about the Github-comments mailing list