From 73345c7dc06a6488f34d4a76906a62171a519278 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Tue, 5 Nov 2019 19:46:50 +0300 Subject: [texo] Medium has been changed. --- examples/lines.cpp | 4 ++++ examples/markdown.cpp | 4 ++++ examples/markdown.md | 4 ++-- examples/plain.cpp | 4 ++++ 4 files changed, 14 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/lines.cpp b/examples/lines.cpp index 5c24444..04d06ab 100644 --- a/examples/lines.cpp +++ b/examples/lines.cpp @@ -14,6 +14,7 @@ void plain() TexoImporterLines importer(producer); FILE *file = fopen("lines.txt", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -25,6 +26,7 @@ void html() TexoImporterLines importer(producer); FILE *file = fopen("lines.txt", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -36,6 +38,7 @@ void markdown() TexoImporterLines importer(producer); FILE *file = fopen("lines.txt", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -47,6 +50,7 @@ void lines() TexoImporterLines importer(producer); FILE *file = fopen("lines.txt", "r"); importer.Put(file); + importer.End(); fclose(file); } diff --git a/examples/markdown.cpp b/examples/markdown.cpp index 2fbe37f..1e95db0 100644 --- a/examples/markdown.cpp +++ b/examples/markdown.cpp @@ -14,6 +14,7 @@ void plain() TexoImporterMarkdown importer(producer); FILE *file = fopen("markdown.md", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -25,6 +26,7 @@ void html() TexoImporterMarkdown importer(producer); FILE *file = fopen("markdown.md", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -36,6 +38,7 @@ void markdown() TexoImporterMarkdown importer(producer); FILE *file = fopen("markdown.md", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -47,6 +50,7 @@ void lines() TexoImporterMarkdown importer(producer); FILE *file = fopen("markdown.md", "r"); importer.Put(file); + importer.End(); fclose(file); } diff --git a/examples/markdown.md b/examples/markdown.md index d1413fd..341acb2 100644 --- a/examples/markdown.md +++ b/examples/markdown.md @@ -15,9 +15,9 @@ This was horizontal rule. > *quote*. ``` -bool Block::is_code() +bool Block::is\_code() { - return this->should_be(); + **return** this->should\_be(); } ``` diff --git a/examples/plain.cpp b/examples/plain.cpp index d91fcde..f03ee68 100644 --- a/examples/plain.cpp +++ b/examples/plain.cpp @@ -14,6 +14,7 @@ void plain() TexoImporterPlain importer(producer); FILE *file = fopen("plain.txt", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -25,6 +26,7 @@ void html() TexoImporterPlain importer(producer); FILE *file = fopen("plain.txt", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -36,6 +38,7 @@ void markdown() TexoImporterPlain importer(producer); FILE *file = fopen("plain.txt", "r"); importer.Put(file); + importer.End(); fclose(file); } @@ -47,6 +50,7 @@ void lines() TexoImporterPlain importer(producer); FILE *file = fopen("plain.txt", "r"); importer.Put(file); + importer.End(); fclose(file); } -- cgit v1.2.3