From a45cb537ab82f13f29f1bc33dd8bf998b3fb9c9b Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Wed, 13 Nov 2019 19:16:21 +0300 Subject: Cosmetical changes. --- src/markdown.hpp | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'src/markdown.hpp') diff --git a/src/markdown.hpp b/src/markdown.hpp index ee8aee8..d8af037 100644 --- a/src/markdown.hpp +++ b/src/markdown.hpp @@ -2,13 +2,13 @@ #define TEXO_INCLUDED_MARKDOWN #include "exporter.hpp" -#include "producer.hpp" #include "importer.hpp" +#include "producer.hpp" class TexoProducerMarkdown: public TexoProducer { public: - TexoProducerMarkdown(TexoExporter &exporter); + TexoProducerMarkdown(TexoExporter & exporter); bool End(); @@ -25,18 +25,15 @@ public: bool Strike(); bool Underline(); - bool Link(const ScriptVariable &link, const ScriptVariable &title); + bool Link(const ScriptVariable & link, const ScriptVariable & title); bool Link(); - bool PutImage( - const ScriptVariable &src, - const ScriptVariable &alt, - const ScriptVariable &title - ); + bool PutImage(const ScriptVariable & src, const ScriptVariable & alt, + const ScriptVariable & title); bool PutHorizontalRule(); private: - bool Mod(const ScriptVariable &str); + bool Mod(const ScriptVariable & str); bool Close(); bool CloseLink(); @@ -53,7 +50,7 @@ private: class TexoImporterMarkdown: public TexoImporter { public: - TexoImporterMarkdown(TexoProducer &producer); + TexoImporterMarkdown(TexoProducer & producer); protected: @@ -82,7 +79,8 @@ private: header, header_pre, code - } state, back; + } state, + back; int header_level; int rule_dash_count; int code_quote_count; -- cgit v1.2.3