Giter Club home page Giter Club logo

a-haoqicat's People

Contributors

billie66 avatar happypeter avatar

Watchers

 avatar  avatar  avatar  avatar

a-haoqicat's Issues

高亮显示思路

#3 相关

每次一行完成,把新的代码交给人家的高亮引擎,转换车带标签的字符串,显示到咱们自己的界面上。

不要自己手写正则表达式去实现高亮,那样相当于重新实现一般高亮引擎,工作量巨大。

我这个思路估计对高亮引擎的接口性能要求也比较高,不知道能不能实现。

自动处理 patch

就是要把最近的几个 commit 插入到 markdown 文件中。

  • 每个 commit 中把头部信息删除掉,只保留干净的 diff 。
  • 头尾加上三个到引号 diff 格式
  • 要逆序排列,最老的 commit 在最顶部,git log --reverse -p 的输出顺序

视频脚本

未来理想目标,一个视频脚本,可以去生成视频和文字稿。

  • 视频脚本的基本内容跟文字稿应该也差不了多少。
  • 脚本中可能会添加一些时间标注,例如:“此处停三秒”
  • 脚本中如果出现“现在到编辑器中”,“现在执行命令”,“现在到浏览器中”,那么界面上就会自动切换到各自模拟器中

markdown 中自动插入 diff

总体思路:文字稿手写 markdown ,需要代码的地方留下 commitId ,运行脚本后自动能把实际代码插入进来。

课程的 meta 信息全部数据库化

每一节的文本还是可以写成 git 形式控制起来。

index.json 中的 json 格式不写了,要写也写成 markdown 。

最后所有数据还是都要加载到数据库中的。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.