1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*
- * Header file of tedi2md
- * Copyright (C) <2022> <alkeon> [alkeon@autistici.org]
-
- * Texdi is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Texdi is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with tedi2md. If not, see <http://www.gnu.org/licenses/>.
- */
- #ifndef __tedi2md__
- #define __tedi2md__
- #include <iostream>
- #include <string>
- #include "../tedi2lang/tedi2lang.h"
- using namespace std;
- class tedi2md: public tedi2lang{
- public:
- tedi2md(tags_definition td);
- tedi2md();
- string convert_line_control_tags(string& line);
- tags_definition default_tags_value();
- string close_paragraph(bool& is_paragraph);
- private:
- const string _start_paragraph_tag;
- bool _is_paragraph;
- };
- #endif
|