diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-02-15 18:31:07 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-02-15 21:45:27 -0800 |
commit | 27373892cb98a2a6a1d35fba28798d9117fff58f (patch) | |
tree | b4ae1c9d3b1df15d4aae9ddcc6a1c5a3fa5ffccf /src/smart.h | |
parent | 376f81ab8aa017ab01040e10d393d7682674562d (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.h | 28 |
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 - |