Created
December 28, 2017 00:29
-
-
Save farnetani/f8c9afa42770100863324cbed3a80a92 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs') | |
const path = require('path') | |
const markdownMagic = require('markdown-magic') | |
const config = { | |
transforms: { | |
DIRTREE: require('./doc-directory-tree.js') | |
} | |
} | |
const markdownPathFull = path.join('./', 'README.md') | |
markdownMagic(markdownPathFull, config) | |
const markdownPath = path.join('./src', '../README.md') | |
markdownMagic(markdownPath, config) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment