|
|
@@ -22,12 +22,16 @@
|
|
|
(testing "org links without labels"
|
|
|
(are [x y] (= (mldoc/link? :org x) y)
|
|
|
"[[http://www.google.com]]" true
|
|
|
- "[[https://www.google.com]]" true))
|
|
|
+ "[[https://www.google.com]]" true
|
|
|
+ "[[draws/2022-03-06-15-00-28.excalidraw]]" true
|
|
|
+ "[[assets/2022-03-06-15-00-28.pdf]]" true))
|
|
|
|
|
|
(testing "markdown links"
|
|
|
(are [x y] (= (mldoc/link? :markdown x) y)
|
|
|
"[google](http://www.google.com)" true
|
|
|
- "[google](https://www.google.com)" true))
|
|
|
+ "[google](https://www.google.com)" true
|
|
|
+ "[[draws/2022-03-06-15-00-28.excalidraw]]" true
|
|
|
+ "" true))
|
|
|
|
|
|
;; https://github.com/logseq/logseq/issues/4308
|
|
|
(testing "parsing links should be finished"
|