summaryrefslogtreecommitdiff
path: root/src/latex.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-28 16:05:42 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-28 16:05:42 -0800
commit11a29f6219ab9c72c0863e47ba386d7b3e1162d5 (patch)
tree7811d042876a5e6061e5543e48ec2e42f75e8aa5 /src/latex.c
parentc22b173c1fee932a9469f95c71f74a9ec0ca1784 (diff)
Reformat sources.
Diffstat (limited to 'src/latex.c')
-rw-r--r--src/latex.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/latex.c b/src/latex.c
index c961a08..57d474c 100644
--- a/src/latex.c
+++ b/src/latex.c
@@ -142,12 +142,13 @@ static inline void outc(cmark_renderer *renderer, cmark_escaping escape,
}
}
-typedef enum { NO_LINK,
- URL_AUTOLINK,
- EMAIL_AUTOLINK,
- NORMAL_LINK,
- INTERNAL_LINK
- } link_type;
+typedef enum {
+ NO_LINK,
+ URL_AUTOLINK,
+ EMAIL_AUTOLINK,
+ NORMAL_LINK,
+ INTERNAL_LINK
+} link_type;
static link_type get_link_type(cmark_node *node) {
size_t title_len, url_len;