Skip to content

Commit 232889f

Browse files
authored
Merge pull request #23 from calcit-lang/linkify
turn on linkify
2 parents 66e3671 + e1fa4ab commit 232889f

File tree

7 files changed

+106
-71
lines changed

7 files changed

+106
-71
lines changed

.github/workflows/upload.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ jobs:
1414

1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 16
17+
node-version: 18
1818
cache: 'yarn'
1919

2020
- uses: supplypike/setup-bin@v3
2121
with:
22-
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.23/cr'
22+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.24/cr'
2323
name: 'cr'
24-
version: '0.6.23'
24+
version: '0.6.24'
2525

2626
- uses: supplypike/setup-bin@v3
2727
with:
28-
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.23/caps'
28+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.24/caps'
2929
name: 'caps'
30-
version: '0.6.23'
30+
version: '0.6.24'
3131

3232
- name: "compiles to js"
3333
run: >

calcit.cirru

Lines changed: 61 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compact.cirru

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
{} (:package |docs-workflow)
3-
:configs $ {} (:init-fn |docs-workflow.main/main!) (:reload-fn |docs-workflow.main/reload!) (:version |0.0.14)
3+
:configs $ {} (:init-fn |docs-workflow.main/main!) (:reload-fn |docs-workflow.main/reload!) (:version |0.0.15)
44
:modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-ui.calcit/ |respo-markdown.calcit/ |reel.calcit/ |respo-router.calcit/ |alerts.calcit/
55
:entries $ {}
66
:files $ {}
@@ -287,11 +287,14 @@
287287
, target $ recur (:children target) (rest path)
288288
, nil
289289
|md $ quote
290-
def md $ new Remarkable
291-
js-object (:html true) (:breaks true)
292-
:highlight $ fn (code lang)
293-
if (= lang "\"cirru") (color/generate code)
294-
.-value $ .!highlightAuto hljs code (js-array lang)
290+
def md $ let
291+
m $ new Remarkable
292+
js-object (:html true) (:breaks true)
293+
:highlight $ fn (code lang)
294+
if (= lang "\"cirru") (color/generate code)
295+
.-value $ .!highlightAuto hljs code (js-array lang)
296+
.!use m linkify
297+
, m
295298
|next-path $ quote
296299
defn next-path (state path)
297300
-> state (assoc :selected path)
@@ -320,6 +323,7 @@
320323
respo-md.comp.md :refer $ comp-md
321324
docs-workflow.config :refer $ dev?
322325
"\"remarkable" :refer $ Remarkable
326+
"\"remarkable/linkify" :refer $ linkify
323327
"\"highlight.js" :default hljs
324328
"\"cirru-color" :as color
325329
respo-alerts.core :refer $ use-modal

docs/about.md

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.cirru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:dependencies $ {}
33
|calcit-lang/lilac |main
44
|calcit-lang/memof |main
5-
|Respo/respo.calcit |main
5+
|Respo/respo.calcit |0.14.44
66
|Respo/reel.calcit |main
77
|Respo/respo-markdown.calcit |main
88
|Respo/respo-ui.calcit |main

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"version": "0.0.14",
2+
"version": "0.0.15",
33
"name": "@calcit/docs-workflow",
44
"dependencies": {
5-
"@calcit/procs": "^0.6.23"
5+
"@calcit/procs": "^0.6.24"
66
},
77
"devDependencies": {
8-
"bottom-tip": "^0.1.3",
8+
"bottom-tip": "^0.1.4",
99
"cirru-color": "^0.2.3",
1010
"github-markdown-css": "^5.2.0",
1111
"highlight.js": "^11.7.0",
1212
"remarkable": "^2.0.1",
13-
"vite": "^4.1.3"
13+
"vite": "^4.1.4"
1414
}
1515
}

yarn.lock

Lines changed: 21 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)