1.0.0 • Published 6 years ago

md-code v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Build Status

a tool that helps writing code in md files

how to use

  1. Write a md file with code sewed in documentation. hello.js.md:

    This code is to print "hello" in the console.

    function hello () {
        console.log("hello");
    }
  2. Run md gencode <path...> to generate or update code files from md files. Or run design gencode -w <path...> to watch for changes in md files and automatically generate or update code files.

  3. Test your code.

  4. Run md delcode <path...> to delete code files. So that your project keeps only the md files.

todos

v1.1.0

  • implement md delcode <path...>
  • implement md gencode <path...>