forked from AppFlowy-IO/AppFlowy
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support converting documents to JSON, HTML, or TEXT. (AppFlowy-…
…IO#3811) * feat: support converting documents to JSON, HTML, or TEXT * fix: modify the comment * fix: modify the comment
- Loading branch information
Showing
56 changed files
with
2,136 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details. | ||
proto_input = ["src/event_map.rs", "src/entities.rs", "src/notification.rs"] | ||
proto_input = ["src/event_map.rs", "src/entities.rs", "src/notification.rs", "src/parser/parser_entities.rs"] | ||
event_files = ["src/event_map.rs"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
pub const DELTA: &str = "delta"; | ||
pub const LEVEL: &str = "level"; | ||
pub const NUMBER: &str = "number"; | ||
pub const CHECKED: &str = "checked"; | ||
|
||
pub const COLLAPSED: &str = "collapsed"; | ||
pub const LANGUAGE: &str = "language"; | ||
|
||
pub const ICON: &str = "icon"; | ||
pub const WIDTH: &str = "width"; | ||
pub const HEIGHT: &str = "height"; | ||
pub const URL: &str = "url"; | ||
pub const CAPTION: &str = "caption"; | ||
pub const ALIGN: &str = "align"; | ||
|
||
pub const PAGE: &str = "page"; | ||
pub const HEADING: &str = "heading"; | ||
pub const PARAGRAPH: &str = "paragraph"; | ||
pub const NUMBERED_LIST: &str = "numbered_list"; | ||
pub const BULLETED_LIST: &str = "bulleted_list"; | ||
pub const TODO_LIST: &str = "todo_list"; | ||
pub const TOGGLE_LIST: &str = "toggle_list"; | ||
pub const QUOTE: &str = "quote"; | ||
pub const CALLOUT: &str = "callout"; | ||
pub const IMAGE: &str = "image"; | ||
pub const DIVIDER: &str = "divider"; | ||
pub const MATH_EQUATION: &str = "math_equation"; | ||
pub const BOLD: &str = "bold"; | ||
pub const ITALIC: &str = "italic"; | ||
pub const STRIKETHROUGH: &str = "strikethrough"; | ||
pub const CODE: &str = "code"; | ||
pub const UNDERLINE: &str = "underline"; | ||
pub const FONT_COLOR: &str = "font_color"; | ||
pub const BG_COLOR: &str = "bg_color"; | ||
pub const HREF: &str = "href"; | ||
pub const FORMULA: &str = "formula"; | ||
pub const MENTION: &str = "mention"; |
Oops, something went wrong.