分享 程序员的 PPT: TermNote at github

chenge · November 14, 2012 · Last by yandy0725 replied at November 20, 2012 · 4840 hits

今天看到这个,TermNote。

ruby 来写和演示类似 ppt 的文档。

require 'termnote'

include TermNote

show.add chapter title: "Hello, World"
show.add code language: "Ruby", source: <<-SOURCE
  puts "Hello, world!"
SOURCE
show.start

Or via a .yaml file:

---
type: chapter
title: Hello, World
subtitle: By Kurtis
---
type: code
source: |
  puts "Hello, world!"

哇咔咔,这个不错。

这个很赞!

ERROR: Could not find a valid gem 'termnote' (>= 0) in any repository 连不上哇

你用 taobao 源试试看,可以装的。

真的,真的是非常赞

这个不能嵌入图片吧,有待改进。

#1 楼 @huacnlee 这里报个 Bug,如果是 1.9.2,需要先装 io-console 依赖没有自动解决。1.9.3 不存在此问题

You need to Sign in before reply, if you don't have an account, please Sign up first.