1,安装XMind软件,看见可以导入Markdown文件
2,因此新建了测试.md文件,代码格式为左图,显示效果为右图。
3,导入到XMind中显示为下图
4,也就是XMind中子标题对应着Markdown中的标题。那他们通过什么互传数据呢?我想到之前word文件doc格式可以将后缀改成zip再解压。
于是将文件保存为XMind默认的格式,将后缀改成zip,然后解压得到一个文件夹
5,下面一个个分析文件夹中的内容
5.1 Thumbnails 文件夹中有一个思维导图的缩略图;
5.2 content.xml 文件中存储着按本信息,编码格式等
5.3 content.json 文件中存储着实际的内容,将内容复制到www.bejson.com上,格式整理得到比较清晰的结构
5.4 manifest.json 文件为应用的配置文件,指定应用的名称,图标等
5.5 metadata.json 存储主题格式
6,因此XMind软件每次只要解析这几个文件即可显示内容。