summaryrefslogtreecommitdiff
path: root/example/plain_to_html.cpp
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-10-16 19:34:47 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-10-16 19:34:47 +0300
commit7b09f265c1deb12c9e6778c4d92473d66fc5406b (patch)
treed8103c5ed176899524913697aa0356d93a107d38 /example/plain_to_html.cpp
parent77f503bd6db90bd882e389ea977f02a2773e14f2 (diff)
downloadtexo-7b09f265c1deb12c9e6778c4d92473d66fc5406b.tar
texo-7b09f265c1deb12c9e6778c4d92473d66fc5406b.tar.xz
texo-7b09f265c1deb12c9e6778c4d92473d66fc5406b.zip
[texo] Starting rewriting...
Diffstat (limited to 'example/plain_to_html.cpp')
-rw-r--r--example/plain_to_html.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/example/plain_to_html.cpp b/example/plain_to_html.cpp
deleted file mode 100644
index 9a81652..0000000
--- a/example/plain_to_html.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <stdio.h>
-#include <html.hpp>
-#include <plain.hpp>
-#include <file.hpp>
-
-
-int main()
-{
- TexoFileExporter exporter(stdout);
- TexoHTMLProducer producer(exporter);
- TexoPlainImporter importer(producer);
- importer.PutStr(
- "I am a little cute line. \n"
- "I am another and that's fine. \n"
- "But I am as long as a pine,\n"
- "so lets drink a glass of wine.\n\n"
- "Second paragraph was started here. \n"
- "Take your bananas and go home, seer.\n"
- );
- return 0;
-}