cortexjs-legacy / cortex-search-server

Cortex search server for www
2 stars 2 forks source link

Bootcamp task #15

Open kaelzhang opened 10 years ago

kaelzhang commented 10 years ago

要求

为 README 中的代码块增加语法高亮的功能

  1. 根据 markdown 语法中的语言标识,来使用不同的语法高亮
  2. 当页面发生改变的时候,高亮需要重新渲染

有关项目:

kaelzhang commented 10 years ago

@Wshhzhsj

kaelzhang commented 10 years ago

@ChalkTao

kaelzhang commented 10 years ago
  1. github,git 使用和安装
  2. fork 下去,clone 本地。
  3. nodejs
  4. jade:会用
  5. stylus:会用
  6. markdown: mou,会用
  7. gulp: 了解
  8. angular.js:会用
kaelzhang commented 10 years ago

gulp

npm install -g gulp
kaelzhang commented 10 years ago

rename config.sample.js -> config.js

module.exports = {
    name: 'cortex-search-server',
    couchdb: 'http://couch.cortex.dp',
    registry: 'http://registry.cortexjs.org',
    port: 8010,
    debug: true
};
kaelzhang commented 10 years ago
npm run start
kaelzhang commented 10 years ago
ChalkTao commented 10 years ago

3个功能添加完毕

需要发起pull request吗

Wshhzhsj commented 10 years ago

代码已经提交到Wshhzhsj/cortex-search-server的master分支