
lisp + mkdown = online page
在原有 mkdown 的语法上借鉴 lisp 的语法 从而实现变量定义和方法运算、循环、判读和多 page 引用等功能, 不知会有人用吗?
这是一个示例
[hello wrold](#pub h) ((use header)) ((incloud './header.lmd')) ((header-h)) [hello](#a https://bing.com) [| Syntax | Description | | --------- | ----------- | | Header | Title | | Paragraph | Text |](#b) (( a )) ((b-syntax (list-ref b 0))) ((map b (lambda (o) (string-append '##' (b-description o) '\n')))) hello world
hello world
| Syntax | Description |
|---|---|
| Header | Title |
| Paragraph | Text |
hello
Header
这是我的个人主页,后期相关信息会在上面更新
1 TrembleBeforeMe 2023-03-01 12:24:28 +08:00 重新发明 org-mode ? |
2 KDr2 2023-03-01 12:31:34 +08:00 可以去看看 scribble 。 |
3 summerLast OP @TrembleBeforeMe 没用过这个工具,看了一下示例还是很类似的,计划是做一个像 notion 和幕布一样的工具,在 markdown 语法的基础上前置增加一个 lisp 编译的环节,这样一想的话有点像 scss less 这类工具 |
4 summerLast OP |
5 KDr2 2023-03-01 17:07:53 +08:00 |
6 summerLast OP @KDr2 scribble 语法太复杂了 有太多的宏和方法了 |
7 summerLast OP @TrembleBeforeMe 设计上也有不同,比如 lmd 将文档当作对象处理,可以直接使用里面的变量,把表格当作数组处理 将用[](#) 声明变量,更像是一个简易的页面编程语言 |