日本語平文を組版に合わせて最適化する、出版史上最もお節介な機能
CoffeeScript HTML JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
test
.gitattributes
.gitignore
.travis.yml
Gruntfile.coffee
History.md
README.md
_cli.coffee
bower.json
coffeecoverage-loader.js
package.json

README.md

Osekkai

Build Status Coverage Status Greenkeeper badge

日本語平文を組版に合わせて最適化する、日本語出版史上最強のお節介(予定)

理想

input: "199X年、世界は核の炎に包まれた!"

json: [
	{
		type: "upright",
		text: "1",
		original: "1"
	},
	{
		type: "upright",
		text: "9",
		original: "9"
	},
	{
		type: "upright",
		text: "9",
		original: "9"
	},
	{
		type: "upright",
		text: "X",
		original: "X"
	},
	{
		type: "plain",
		text: "年、世界は核の炎に包まれた"
	},
	{
		type: "upright",
		text: "!",
		original: "!"
	},
	{
		type: "margin",
		value: "full",
		original: ""
	}
]

plain: 199X年、世界は核の炎に包まれた!