FizzyElt / functional-programming

帶你探索 functional programming
https://fizzyelt.github.io/functional-programming/
MIT License
25 stars 0 forks source link

[工具] 是否要採用 forester 做成網站? #24

Closed dannypsnl closed 1 year ago

dannypsnl commented 1 year ago

Template: https://git.sr.ht/~jonsterling/forest-template

dannypsnl commented 1 year ago

初步實驗,連結效果還不錯,程式的 css 要再調整

image
dannypsnl commented 1 year ago

多行程式要排版正確要用下面的寫法

\pre{\startverb%
function xxx() {
  // ...
}
\stopverb}
FizzyElt commented 1 year ago

tree 的名稱有限制嗎,可能需要一點命名規則

FizzyElt commented 1 year ago

我在想如果用這種形式,我們是否需要保留原始 markdown

dannypsnl commented 1 year ago

Tree 的名稱是隨意的

如果都在 tree 上面寫,之後移植完應該就不需要 markdown 了

dannypsnl commented 1 year ago

另一個辦法是把 tree 解析成 markdown

應該不複雜,語法比較規範

dannypsnl commented 1 year ago

順帶一提 000A 這個是 36 進位,所以一個 namespace 有 1679616 個入口,應該很難用光

dannypsnl commented 1 year ago

close as start experiment