summaryrefslogtreecommitdiff
path: root/src/smart.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-02-15 18:31:07 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-02-15 21:45:27 -0800
commit27373892cb98a2a6a1d35fba28798d9117fff58f (patch)
treeb4ae1c9d3b1df15d4aae9ddcc6a1c5a3fa5ffccf /src/smart.h
parent376f81ab8aa017ab01040e10d393d7682674562d (diff)
Moved handling of --smart from renderer to parser.
This allows backslash escapes to disable smart quote transformations in particular cases. Closes #8.
Diffstat (limited to 'src/smart.h')
-rw-r--r--src/smart.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/smart.h b/src/smart.h
deleted file mode 100644
index fa614b3..0000000
--- a/src/smart.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef CMARK_SMART_H
-#define CMARK_SMART_H
-
-#include <stddef.h>
-#include <stdarg.h>
-#include "config.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void escape_with_smart(cmark_strbuf *buf,
- cmark_node *node,
- void (*escape)(cmark_strbuf *, const unsigned char *, int),
- const char *left_double_quote,
- const char *right_double_quote,
- const char *left_single_quote,
- const char *right_single_quote,
- const char *em_dash,
- const char *en_dash,
- const char *ellipses);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-