File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
resources/exporter-test-graph/journals Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 871871 (let [[type' content] (second node)
872872 wrapper (case type' " Inline" " $" " Displayed" " $$" )]
873873 [wrapper content wrapper])
874+ (and (vector? node) (= (first node) " Src" ))
875+ [(str " \n ```" (when-let [lang (:language (second node))] lang))
876+ (apply str " \n " (:lines (second node)))
877+ " ```" ]
874878 (and (vector? node) (= (first node) " Displayed_Math" ))
875879 [" $$" (second node) " $$" ]
876880 (and (vector? node) (= (first node) " List" ))
Original file line number Diff line number Diff line change 210210
211211 ; ; Counts
212212 ; ; Includes journals as property values e.g. :logseq.property/deadline
213- (is (= 29 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Journal ]] @conn))))
213+ (is (= 30 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Journal ]] @conn))))
214214
215215 (is (= 5 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Asset ]] @conn))))
216216 (is (= 4 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Task ]] @conn))))
217217 (is (= 4 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Query ]] @conn))))
218218 (is (= 2 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Card ]] @conn))))
219- (is (= 4 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Quote-block ]] @conn))))
219+ (is (= 5 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Quote-block ]] @conn))))
220220 (is (= 2 (count (d/q '[:find ?b :where [?b :block/tags :logseq.class/Pdf-annotation ]] @conn))))
221221
222222 ; ; Properties and tags aren't included in this count as they aren't a Page
Original file line number Diff line number Diff line change 1+ - #+BEGIN_QUOTE
2+ test a code block in a quote:
3+
4+ ``` shell
5+ $ echo hi
6+ $ echo gbye
7+ ```
8+ #+END_QUOTE
You can’t perform that action at this time.
0 commit comments