summaryrefslogtreecommitdiff
path: root/src/elements.h
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@fastmail.net>2011-03-11 16:53:04 +0100
committerGrégoire Duchêne <gduchene@fastmail.net>2011-03-11 16:57:33 +0100
commite837682344d6edd2012d1ab2fd30d77ffa486593 (patch)
tree4ce2a33d6bd68d1e88dc57cb6b446b75c940da93 /src/elements.h
parent7acf15c1f0623f157e6abdf4a9bff5b050add967 (diff)
Paragraph element added.
This element will allow me to add more cool things like real paragraphs, lists, or quotation blocks. Please check the MDOWN file for an exhaustive list of blocks.
Diffstat (limited to 'src/elements.h')
-rw-r--r--src/elements.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/elements.h b/src/elements.h
index 0c7b1bf..88161e1 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -57,7 +57,8 @@ struct pstext_t {
std::wstring parameter;
};
-typedef std::vector<text_t> document_t;
+typedef std::vector<text_t> paragraph_t;
+typedef std::vector<paragraph_t> document_t;
BOOST_FUSION_ADAPT_STRUCT (stext_t,
(stattribute_t, attribute)