osekkai
v1.1.5
Published
日本語組版のお節介
Downloads
19
Maintainers
Readme
Osekkai
日本語平文を組版に合わせて最適化する、日本語出版史上最強のお節介(予定)
理想
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年、世界は核の炎に包まれた!