A Wenyan Markdown language concept.
箋 Jian is a Wenyan Markdown language written in Haskell.
Headings are done through indentations. And every 2 indents adds on level of heading.
史記
本紀
秦始皇本紀第六
For ordered lists, just like in Markdown, they starts with numbers.
一、《論語》
二、《孟子》
As for unordered lists, they starts with 〇
.
〇李白
〇杜甫
〇白居易
Images are cited like:
【有圖者「兩儀式」自「https://fgo.wiki/images/0/0b/215-卡面-1.png」來】
圖者,非嵌於文也,必取諸他處,故名之。
For URLs:
【有扉者「Github」通「https://github.com」也】
超鏈接者,戶也,扉也,通八方,故以「扉」名之。
Just like comments in ancient books, they starts with 批:
批:註釋也。
Inlines are wrapped in 〔〕
有Haskell码曰:〔putStrLn "Hello"〕乃「安好」也。
Code blocks are wrapped in 〔〔書以:[language]
and 〕〕
Example:
〔〔書以:haskell
isShuzi :: Char -> Bool
isShuzi x = x `elem` "零一二三四五六七八九十百千萬"
〕〕