zhangjingcn / xmind-markdown-translator

This tool help you translate xmind file to markdown syntax. In future, it may support markdown syntax to xmind.
Apache License 2.0
68 stars 16 forks source link

xmind and markdown translator

introduction

This tool inspired by one of my colleague who just use xmind to make summary. Xmind is good at mind mapping, it seem that when you read a book or article, xmind can help you quickly summarize the key point. But if you want to share it with others, xmind seems a little trouble. This tool help you translate xmind file to markdown syntax. In future, it may support markdown syntax to xmind.

demo

features

xmind to markdown

supported xmind syntax
unsupported xmind syntax

markdown to xmind (comming soon probably)

usage

execute

    npm install
    node start.js -s [source file] -d [destination file] [options]

command line options

  Usage: start -s [source file] -d [destination file] [options]

  Options:

    -h, --help                                 output usage information
    -V, --version                              output the version number
    -s, --source [sourceLocation]              source file need to parse, now only support xmind file
    -d, --destination [destinationLocation]    destination file that generated, now only can be mardown file
    -l, --leafTopic [header || unorderedlist]  value can be header or unorderedlist, default is unorderedlist, used when translate xmind to mardown, define that leaf topic should be translated to header or unorderedlist in markdown

version

V0.1.0

dependency

    "babel-core": "6.13.2",
    "babel-polyfill": "6.13.0",
    "babel-preset-es2015-node6": "0.3.0",
    "babel-preset-stage-3": "6.5.0",
    "lodash": "4.17.3",
    "xmind": "~0.4.0",
    "commander" : "~2.9.0"