Code Monkey home page Code Monkey logo

mindr's Introduction

mindr: an R package which converts markdown (.md) or rmarkdown (.Rmd) files to mind maps, and vice versa

Introduction

mindr is an R package which converts markdown (.md) or rmarkdown (.Rmd) files to mind maps (.mm), and vice versa. Mind map files (.mm) can be opened by or imported to common mindmap software such as 'FreeMind'and 'XMind'.

If your are a markdown or rmarkdown or bookdown or blogdown user, mindr can convert your .md or .Rmd files into mind maps easily. You can write a new mind map with markdown syntax and use mindr to convert it into an .mm mind map.

If you are a mind map user, you can export your mind map into an .mm file and use mindr to convert it into a markdown file as an outline of your document or book.

Quick start

Installation

# stable version:
install.packages("mindr")
# or development version:
devtools::install_github("pzhaonet/mindr")

Convert (a) markdown file(s) into a mindmap

Create a folder named mm in the working directory (getwd()), and drop some markdown or rmarkdown files into mm/. Run:

mindr::md2mm()

then you will get a mm.mm file. Open it with any mind-map (brainstorm) software, and you will get a mind map.

Plenty of cross-platform and online mindmap software suits are available (see the list), among which freemind and Xmind are highly recommended.

Convcert (a) mind map(s) into a markdown file

Drop some mindmap files (.mm) into mm/. Run:

mindr::mm2md()

then you will get a mm.md markdown file.

Extract the outline from (a) markdown files

Drop some markdown or rmarkdown files into mm/. Run:

mindr::outline()

then you will get an outline.md file with headers in it as an outline.

Have fun!

Still being developed. Feel free to give your feedback to me!

Showcase

  • Mindmap of my book Learning R

Updates

  • 2017-06-19: v1.0.4. Released on CRAN!
  • 2017-06-02. V1.0.0. Backup existing files before overwritten. Submitted to CRAN.
  • 2017-05-21. V0.2.0. Rename functions.
  • 2017-05-21. V0.1.0. Bidirectional! Now mind maps can be converted to markdown.
  • 2017-05-20. V0.0.1. Can Save the outline.
  • 2017-05-19. V0.0.0. A very preliminary version.

License

Copyright 2017 Peng Zhao.

Released under the MIT license.

mindr's People

Contributors

batpigandme avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.