summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Mendez <jmendeth@gmail.com>2014-03-23 19:56:05 +0100
committerXavier Mendez <jmendeth@gmail.com>2014-03-23 19:56:05 +0100
commit8bc7aadbff5b50eb603cf76c6844f9711bae45a9 (patch)
treebb75658e7a20398c10cc01d62b9c483dc88d1919
parent6e7624195a0ce053852a39c2f1af62411032d696 (diff)
downloadrust-hoedown-8bc7aadbff5b50eb603cf76c6844f9711bae45a9.tar.gz
Correct extension category
-rw-r--r--src/document.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/document.h b/src/document.h
index e3007bd..d310933 100644
--- a/src/document.h
+++ b/src/document.h
@@ -16,29 +16,28 @@ extern "C" {
enum hoedown_extensions {
/* block-level extensions */
- HOEDOWN_EXT_SPACE_HEADERS = (1 << 0),
- HOEDOWN_EXT_TABLES = (1 << 1),
- HOEDOWN_EXT_FENCED_CODE = (1 << 2),
- HOEDOWN_EXT_FOOTNOTES = (1 << 3),
+ HOEDOWN_EXT_TABLES = (1 << 0),
+ HOEDOWN_EXT_FENCED_CODE = (1 << 1),
+ HOEDOWN_EXT_FOOTNOTES = (1 << 2),
/* span-level extensions */
- HOEDOWN_EXT_AUTOLINK = (1 << 4),
- HOEDOWN_EXT_STRIKETHROUGH = (1 << 5),
- HOEDOWN_EXT_UNDERLINE = (1 << 6),
- HOEDOWN_EXT_HIGHLIGHT = (1 << 7),
- HOEDOWN_EXT_QUOTE = (1 << 8),
- HOEDOWN_EXT_SUPERSCRIPT = (1 << 9),
+ HOEDOWN_EXT_AUTOLINK = (1 << 3),
+ HOEDOWN_EXT_STRIKETHROUGH = (1 << 4),
+ HOEDOWN_EXT_UNDERLINE = (1 << 5),
+ HOEDOWN_EXT_HIGHLIGHT = (1 << 6),
+ HOEDOWN_EXT_QUOTE = (1 << 7),
+ HOEDOWN_EXT_SUPERSCRIPT = (1 << 8),
/* other flags */
- HOEDOWN_EXT_LAX_SPACING = (1 << 10),
- HOEDOWN_EXT_NO_INTRA_EMPHASIS = (1 << 11),
+ HOEDOWN_EXT_LAX_SPACING = (1 << 9),
+ HOEDOWN_EXT_NO_INTRA_EMPHASIS = (1 << 10),
+ HOEDOWN_EXT_SPACE_HEADERS = (1 << 11),
/* negative flags */
HOEDOWN_EXT_DISABLE_INDENTED_CODE = (1 << 12)
};
#define HOEDOWN_EXT_BLOCK (\
- HOEDOWN_EXT_SPACE_HEADERS |\
HOEDOWN_EXT_TABLES |\
HOEDOWN_EXT_FENCED_CODE |\
HOEDOWN_EXT_FOOTNOTES )
@@ -53,7 +52,8 @@ enum hoedown_extensions {
#define HOEDOWN_EXT_FLAGS (\
HOEDOWN_EXT_LAX_SPACING |\
- HOEDOWN_EXT_NO_INTRA_EMPHASIS )
+ HOEDOWN_EXT_NO_INTRA_EMPHASIS |\
+ HOEDOWN_EXT_SPACE_HEADERS )
#define HOEDOWN_EXT_NEGATIVE (\
HOEDOWN_EXT_DISABLE_INDENTED_CODE )