summaryrefslogtreecommitdiff
path: root/src/html.hpp
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-11-05 19:46:50 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-11-05 19:46:50 +0300
commit73345c7dc06a6488f34d4a76906a62171a519278 (patch)
tree28b1c588873a8154db03ba9abe344412c5ef2587 /src/html.hpp
parent55fd715a4ea184644600be54531ce5b28bec9a90 (diff)
downloadtexo-73345c7dc06a6488f34d4a76906a62171a519278.tar
texo-73345c7dc06a6488f34d4a76906a62171a519278.tar.xz
texo-73345c7dc06a6488f34d4a76906a62171a519278.zip
[texo] Medium has been changed.
Diffstat (limited to 'src/html.hpp')
-rw-r--r--src/html.hpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/html.hpp b/src/html.hpp
index c9d2e97..8091d74 100644
--- a/src/html.hpp
+++ b/src/html.hpp
@@ -10,6 +10,8 @@ class TexoProducerHTML: public TexoProducer {
public:
TexoProducerHTML(TexoExporter &exporter);
+ void End();
+
void Put(const Texo &piece);
void Put(const TexoHeader &piece);
@@ -25,8 +27,23 @@ public:
void Put(const TexoImage &piece);
void Put(const TexoLink &piece);
- void Put(const TexoLineBreak &piece);
void Put(const TexoHorizontalRule &piece);
+
+private:
+ void Close();
+
+ enum {
+ none = 0,
+ header_1,
+ header_2,
+ header_3,
+ header_4,
+ header_5,
+ header_6,
+ paragraph,
+ code,
+ quote
+ } opened_block;
};