V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
liujavamail
V2EX  ›  分享创造

bearychat-runcode 运行代码片段

  •  
  •   liujavamail · 2018-10-28 14:57:36 +08:00 · 1998 次点击
    这是一个创建于 1978 天前的主题,其中的信息可能已经有所发展或是发生改变。

    代码地址

    https://github.com/liujavamail/bearychat-runcode

    描述

    一个比较粗糙的运行代码片段机器人,目前只支持 ruby 和 js 的。

    输入 markdown 格式, 要以```ruby ``` 这样的代码快包住, js 同理

    input

    输出运算结果

    output

    第 1 条附言  ·  2018-10-29 10:48:08 +08:00
    输入


    输出
    2 条回复    2018-10-29 10:48:44 +08:00
    MyFaith
        1
    MyFaith  
       2018-10-29 09:31:15 +08:00
    图全挂了
    liujavamail
        2
    liujavamail  
    OP
       2018-10-29 10:48:44 +08:00
    @MyFaith 补了两个图
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5534 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:04 · PVG 17:04 · LAX 02:04 · JFK 05:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.