Skip to content

Commit

Permalink
turn on linkify; tag 0.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Mar 12, 2023
1 parent 66e3671 commit e1fa4ab
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 71 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'yarn'

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.23/cr'
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.24/cr'
name: 'cr'
version: '0.6.23'
version: '0.6.24'

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.23/caps'
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.6.24/caps'
name: 'caps'
version: '0.6.23'
version: '0.6.24'

- name: "compiles to js"
run: >
Expand Down
101 changes: 61 additions & 40 deletions calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions compact.cirru
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{} (:package |docs-workflow)
:configs $ {} (:init-fn |docs-workflow.main/main!) (:reload-fn |docs-workflow.main/reload!) (:version |0.0.14)
:configs $ {} (:init-fn |docs-workflow.main/main!) (:reload-fn |docs-workflow.main/reload!) (:version |0.0.15)
:modules $ [] |respo.calcit/ |lilac/ |memof/ |respo-ui.calcit/ |respo-markdown.calcit/ |reel.calcit/ |respo-router.calcit/ |alerts.calcit/
:entries $ {}
:files $ {}
Expand Down Expand Up @@ -287,11 +287,14 @@
, target $ recur (:children target) (rest path)
, nil
|md $ quote
def md $ new Remarkable
js-object (:html true) (:breaks true)
:highlight $ fn (code lang)
if (= lang "\"cirru") (color/generate code)
.-value $ .!highlightAuto hljs code (js-array lang)
def md $ let
m $ new Remarkable
js-object (:html true) (:breaks true)
:highlight $ fn (code lang)
if (= lang "\"cirru") (color/generate code)
.-value $ .!highlightAuto hljs code (js-array lang)
.!use m linkify
, m
|next-path $ quote
defn next-path (state path)
-> state (assoc :selected path)
Expand Down Expand Up @@ -320,6 +323,7 @@
respo-md.comp.md :refer $ comp-md
docs-workflow.config :refer $ dev?
"\"remarkable" :refer $ Remarkable
"\"remarkable/linkify" :refer $ linkify
"\"highlight.js" :default hljs
"\"cirru-color" :as color
respo-alerts.core :refer $ use-modal
Expand Down
4 changes: 4 additions & 0 deletions docs/about.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:dependencies $ {}
|calcit-lang/lilac |main
|calcit-lang/memof |main
|Respo/respo.calcit |main
|Respo/respo.calcit |0.14.44
|Respo/reel.calcit |main
|Respo/respo-markdown.calcit |main
|Respo/respo-ui.calcit |main
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "0.0.14",
"version": "0.0.15",
"name": "@calcit/docs-workflow",
"dependencies": {
"@calcit/procs": "^0.6.23"
"@calcit/procs": "^0.6.24"
},
"devDependencies": {
"bottom-tip": "^0.1.3",
"bottom-tip": "^0.1.4",
"cirru-color": "^0.2.3",
"github-markdown-css": "^5.2.0",
"highlight.js": "^11.7.0",
"remarkable": "^2.0.1",
"vite": "^4.1.3"
"vite": "^4.1.4"
}
}
36 changes: 21 additions & 15 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e1fa4ab

Please sign in to comment.