TDME2  1.9.200
Markdown.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 #include <tdme/tdme.h>
9 
10 #include <ext/tinyxml/tinyxml.h>
11 
12 using std::string;
13 using std::vector;
14 
15 /**
16  * Markdown
17  * @author Andreas Drewke
18  */
20 {
21 public:
22  struct TOCEntry {
23  string id;
24  string level;
25  string title;
26  };
27 
28  /**
29  * Create mark down GUI XML
30  * @param pathName markdown path name
31  * @param pathName markdown file name
32  * @param xml resulting xml
33  * @param toc resulting table of contents
34  * @returns GUI XML
35  */
36  static const string createGUIXML(const string& pathName, const string& fileName, vector<TOCEntry>& toc);
37 
38 };
static const string createGUIXML(const string &pathName, const string &fileName, vector< TOCEntry > &toc)
Create mark down GUI XML.
Definition: Markdown.cpp:23