1 Star 0 Fork 0

iamdsy / nginx-blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
lib_markdown_parse.h 616 Bytes
一键复制 编辑 原始数据 按行查看 历史
iamdsy 提交于 2017-12-27 07:41 . about_me-have-some-problems
#ifndef LIB_MARKDOWN_PARSE_H
#define LIB_MARKDOWN_PARSE_H
extern "C"{
}
#include <fstream>
#include <iostream>
#include <sstream>
#include <map>
using namespace std;
class markdown_parse{
public:
markdown_parse();
~markdown_parse();
//parsed markdown file to get the TOC and the all string
bool parse_file(stringstream* md_str_stream);
//parsed markdown line to the html line
bool parse_string(string md_str,string* parsed_string,int* int_title_level);
string strim_string(string before);
string parsed_all_string;
string catalog;
};
#endif // LIB_MARKDOWN_PARSE_H
C++
1
https://gitee.com/iamdsy/nginx-blog.git
git@gitee.com:iamdsy/nginx-blog.git
iamdsy
nginx-blog
nginx-blog
master

搜索帮助