fix-github.js 248 B

12345678910
  1. var fs = require('fs')
  2. var path = require('path')
  3. var fpath = path.resolve(__dirname, 'markdown-themes/github.css')
  4. var theme = fs.readFileSync(fpath, 'utf8')
  5. .replace(/\.markdown-body :root/g, ':root')
  6. fs.writeFileSync(fpath, theme, 'utf8')