Commit Graph

27 Commits

Author SHA1 Message Date
Gabriel Horner
0768809a86 fix: lints and disable intermittent failing test
- Reverted config/db-based-graph? check in a db only namespace
- Removed unused ns as it appears we just used another fn instead.
- /cc @RCmerci on failing test
2024-01-23 10:48:14 -05:00
Tienson Qin
b06b01b88b Merge branch 'master' into feat/db 2024-01-22 12:08:37 +08:00
Tienson Qin
fce15fb2d6 chore: remove bak file 2024-01-22 10:02:27 +08:00
Tienson Qin
4698d8cfea fix: don't export id property for db graphs 2024-01-22 10:00:26 +08:00
Tienson Qin
6725c83f5c fix: export issues 2024-01-22 10:00:26 +08:00
Tienson Qin
6ed39e7871 fix: export zip file 2024-01-22 10:00:26 +08:00
Tienson Qin
e571c571ec wip: export refactor
1. Move fns to worker
2. Don't rely on :block/file, use db blocks to build page content
2024-01-22 10:00:26 +08:00
rcmerci
14df4e80ac fix(export): remove leading spaces for block-src when no-indent 2024-01-17 20:14:05 +08:00
rcmerci
facc75f635 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
2024-01-12 14:26:17 +08:00
Tienson Qin
b7d9098e80 Move gp-util and gp-config to the common dep 2024-01-03 16:38:05 +08:00
Gabriel Horner
3f773ed876 fix: update all db graph uses of mldoc to use db config
Left a few uses of gp-mldoc/default-config but only in file graph
specific locations or functionality that wasn't related to db graphs
e.g. handler. plugin. Also removed format/get-default-config as it was unused

Part of LOG-2741
2023-10-27 14:08:55 -04:00
Gabriel Horner
241384c9be chore: clean up repeated uses of fetching page+property uuids 2023-10-24 09:29:30 -04:00
Tienson Qin
8746a373ae Replace special [[id]] with [[page name]] when reading block content 2023-06-15 22:59:55 +08:00
rcmerci
402668bd69 enhance(export): add title when page opml-export 2023-05-18 16:29:26 +08:00
rcmerci
fe783015d1 fix(export): export table err when empty table-header (#9344) 2023-05-10 15:34:16 +08:00
rcmerci
14d91a5f6d fix inline-link when html export 2023-04-03 20:18:21 +08:00
rcmerci
9b5bdb2f69 remove placeholder tag when html export 2023-04-03 20:18:21 +08:00
rcmerci
ab2f147336 prettify html and opml export 2023-04-03 20:18:21 +08:00
rcmerci
c3f7417682 enhance: add mldoc ast schema (#8829)
* enhance: add mldoc ast schema

* Add bb task to validate mldoc

Also move mldoc schema to make room for other schemas

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-03-20 13:41:13 +08:00
rcmerci
3cda885b9b add unit-tests for export 2023-03-20 12:31:35 +08:00
rcmerci
e54d739cbc fix(copy-as/export): remove space between ``` and lang 2023-03-20 12:31:35 +08:00
rcmerci
24bca5883f feat(copy-as/export): add option: remove-properties 2023-03-20 12:31:35 +08:00
rcmerci
bce6174b5a feat(copy-as/export): add option: :newline-after-block 2023-03-20 12:31:35 +08:00
rcmerci
2cfe943169 only copy-as/export level<N blocks for opml/html export 2023-03-20 12:31:35 +08:00
rcmerci
5efbd125de only copy-as/export level<N blocks for text export 2023-03-20 12:31:35 +08:00
Zhizhen He
25c15053d6 feat: add typos to GitHub action
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
rcmerci
2a12ffc331 feat(editor/copy-paste): refactor copy/export in cljs (#8530)
Huge performance improvement for copy and export

Refactor copy/export in cljs instead of Mldoc
2023-02-20 23:08:58 +08:00