summaryrefslogtreecommitdiff
path: root/src/latex.c
diff options
context:
space:
mode:
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;