tylerlong / slim_text

Slim Text Editor
http://slimtext.org
192 stars 43 forks source link

开发者教程 #3

Closed tylerlong closed 11 years ago

tylerlong commented 11 years ago

开发者教程

安装软件

CoffeeScript

快速开始

git clone git@github.com:tylerlong/slim_text.git
cd slim_text
git submodule update --init --recursive
coffee --watch --output js/ --compile coffee/

备注: 建议先fork一个自己的Repo, 再git clone

测试

  1. 浏览器打开chrome://extensions/
  2. 勾选开发者模式
  3. 选择 载入未打包的扩展
  4. 浏览到slim_text项目的根文件夹, 确定载入
  5. 即可在浏览器中测试开发版的Slim Text了

image

贡献代码

  1. 先fork一个自己的Repo
  2. 将自己的Repo git clone 到本地
  3. 修改代码, commit, push
  4. 创建Pull Request
  5. 修改的代码被review, 合并到官方代码库
hugohua commented 10 years ago

有没有提供相应的接口? 比如我网页有段代码要编辑,直接跳转到插件页面编辑完后再把数据传回来?

tylerlong commented 10 years ago

@baofen14787 没有这样的接口。