search

Home  >  Q&A  >  body text

gitbook - 有没有这样的团队wiki: git+markdown可视化编辑+图片粘贴+权限控制...

如果没有这样的团队wiki,我考虑自己写了

  1. 基本的功能与样式
    参考 http://es6.ruanyifeng.com/#docs/set-map 以及 gitbook

    每一篇markdown有自己固定的地址,但是需要用ajax请求file.md,再用markdown.js生成html页面. 这个需要用到一个html5的特性: http://www.cnblogs.com/xuchengzone/archive/2013/04/18/html5-history-pushstate.html

  2. git版本控制
    可利用git查看历史记录、每次编辑的diff

  3. markdown可视化编辑
    参考 https://stackedit.io/ 还需要额外支持

    图片粘贴
    支持html5的paste image api, 实现通过ctrl+v 完成图片上传到markdown [image](url)标记的生成
    readline快捷键

  4. 权限控制
    可设置多名管理员,只有管理员才具备编辑权限

  5. 使用yaml 生成文档树

曾经蜡笔没有小新曾经蜡笔没有小新2798 days ago853

reply all(4)I'll reply

  • 大家讲道理

    大家讲道理2017-04-25 09:05:20

    redmine 2.5 may meet the requirements.

    It has very powerful permission control. You can use the web page to view git warehouse information, you can use markdown/textile to write wikis, and it also provides many RESTful APIs for third-party integration. If you add the wiki extension plug-in, you can also do real-time preview. After adding the code review plug-in, you can do code review. After using the Pixel Cooker theme, you can make the interface much more beautiful.

    reply
    0
  • 漂亮男人

    漂亮男人2017-04-25 09:05:20

    Github has open sourced their WIKI, but it’s not very easy to use.
    I support the author to make one himself. If it can achieve these functions, I will use it.

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-04-25 09:05:20

    https://github.com/tankywoo/simiki

    This brother has just open sourced a wiki he wrote by himself, which supports markdown. If you want to write the questions yourself, you might as well consider adding this. Our team is trying it out.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-25 09:05:20

    http://wegit.org/

    This must be what you want

    reply
    0
  • Cancelreply