An Example For Implementing Markdown Syntax To Style Text In AppFlowy Editor #1100
LucasXu0
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently, I followed this document and implemented a simple feature, converting the
**
syntax to bold text in appflowy_editor.Here are my steps and pull request.
frontend/app_flowy/packages/appflowy_editor
in Visual Studio.markdown_syntax_to_styled_text.dart
under/lib/src/service/internal_key_event_handlers/
.shortcut event handler
. In my case, I name itdoubleAsterisksToBold
.doubleStarToBoldTextHandler
tobuiltInShortcutEvents
.Before and after.
![before](https://user-images.githubusercontent.com/11863087/191202548-1d03f68b-a7b3-4935-a35e-29b8bdcc98f1.gif)
![after](https://user-images.githubusercontent.com/11863087/191202563-9e1488a3-7c8d-4c4e-a583-d9f5fe61cfd2.gif)
Beta Was this translation helpful? Give feedback.
All reactions