• This project
    • Loading...
  • Sign in

Shenlin / markdown-view

Itomix
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • markdown-view
  • init
  • config.js
  • lintry's avatar
    使用action处理markdown文件显示 · efc6340c ...
    efc6340c
    调整md文档目录定义
    lintry authored 2018-01-10 16:58:41 +0800
config.js 405 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/**
 * config
 * Created by lintry on 2018/1/9.
 */

const customize = require('kml-customize');

const configure = customize({
    "system": {
      "bind_port": 8200,
    },
    "md": {
        "base_path": {},
        "default_md": "readme.md",
        "theme": "metro-lake",
        "toc": true
    },
});

//绑定到全局变量
global.config = global.config = configure;
module.exports = configure;