From 97ff2ee0ca8c37fc7de9c6db2defcafa525a1ac3 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 9 Oct 2018 16:58:49 +0800 Subject: [PATCH] Enable code block syntax highlight in README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 41dbca95..89667fb6 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ four arguments: argc, argv, the command structure associated with the callback, and the plug-in structure that contains that command. The prototype looks like this: - ``` + ```c int f(int argc, char **argv, struct command *cmd, struct plugin *plugin); ``` @@ -144,7 +144,7 @@ There is a very important order on how to define the plugin. The following is a basic example on how to start this: File: foo-plugin.h -``` +```c #undef CMD_INC_FILE #define CMD_INC_FILE foo-plugin @@ -174,7 +174,7 @@ To get started from the above example, we just need to define "CREATE_CMD" and include the header: File: foo-plugin.c -``` +```c #define CREATE_CMD #include "foo-plugin.h" ``` -- 2.50.1