创建终端信息图表的标记语言:wopr
jopen
9年前
WOPR是一种简单的标记语言用于创建丰富的终端报告,幻灯片和信息图表。
Put a report on the web (e.g. gist) and view it via curl:
$> curl -N tty.zone/\[0-2\]\?auto\&cols=$((COLUMNS))
(If you experience firewall issues replace tty.zone with ec2-23-21-64-152.compute-1.amazonaws.com or use a local viewer)
Created by Yaron Naveh (@YaronNaveh)
Writing your first terminal report
Here is a simple report with a bar chart:
<document> <page> <item col="0" row="0" colSpan="5" rowSpan="4"> <bar maxHeight="5" data-titles="A,B,C" data-data="2,5,3" /> </item> </page> </document>