diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2019-11-05 19:46:50 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2019-11-05 19:46:50 +0300 |
commit | 73345c7dc06a6488f34d4a76906a62171a519278 (patch) | |
tree | 28b1c588873a8154db03ba9abe344412c5ef2587 /examples | |
parent | 55fd715a4ea184644600be54531ce5b28bec9a90 (diff) | |
download | texo-73345c7dc06a6488f34d4a76906a62171a519278.tar texo-73345c7dc06a6488f34d4a76906a62171a519278.tar.xz texo-73345c7dc06a6488f34d4a76906a62171a519278.zip |
[texo] Medium has been changed.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/lines.cpp | 4 | ||||
-rw-r--r-- | examples/markdown.cpp | 4 | ||||
-rw-r--r-- | examples/markdown.md | 4 | ||||
-rw-r--r-- | examples/plain.cpp | 4 |
4 files changed, 14 insertions, 2 deletions
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); } |