Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,6 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-

- name: 🗝 Clerk Cache
uses: actions/cache@v4
with:
path: .clerk
key: ${{ runner.os }}-clerk-cache

- name: 🗝 Shadow compiler cache
uses: actions/cache@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion notebooks/parsing_extensibility.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

^{:nextjournal.clerk/visibility {:code :hide :result :hide}}
(def show-text
{:transform-fn (fn [x] (clerk/html [:pre (deref (:nextjournal/value x))]))})
{:transform-fn (fn [x] (clerk/html [:pre (:nextjournal/value x)]))})

;; With recent additions to our `nextjournal.markdown.parser` we're allowing for a customizable parsing layer on top of the tokenization provided by `markdown-it` ([n.markdown/tokenize](https://github.com/nextjournal/markdown/blob/ae2a2f0b6d7bdc6231f5d088ee559178b55c97f4/src/nextjournal/markdown.clj#L50-L52)).
;; We're acting on the text (leaf) tokens, splitting each of those into a collection of [nodes](https://github.com/nextjournal/markdown/blob/ff68536eb15814fe81db7a6d6f11f049895a4282/src/nextjournal/markdown/parser.cljc#L5). We'll explain how that works by means of three examples.
Expand Down
Loading