mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
fix(export): remove prefix spaces when no-indent (#10807)
* fix(export): remove prefix spaces when no-indent * fix(export): fix remove-prefix-spaces-in-Plain use full_content for Src ast when no-indent
This commit is contained in:
@@ -129,6 +129,23 @@
|
||||
- 4")
|
||||
"97a00e55-48c3-48d8-b9ca-417b16e3a616"))
|
||||
|
||||
(deftest export-blocks-as-markdown-no-indent
|
||||
(are [expect content]
|
||||
(= (string/trim expect)
|
||||
(string/trim (#'export-text/export-helper (string/trim content) :markdown {:indent-style "no-indent"})))
|
||||
"
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5"
|
||||
"
|
||||
- 1
|
||||
2
|
||||
3
|
||||
- 4
|
||||
5"))
|
||||
|
||||
|
||||
(deftest-async export-files-as-markdown
|
||||
(p/do!
|
||||
|
||||
Reference in New Issue
Block a user