mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #2372] [FR] Markdown divider implement ___ #1006
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#1006
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @annieappflowy on GitHub (Apr 28, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2372
Originally assigned to: @AmanNegi on GitHub.
Description
You can use ___ on its own line to add a horizontal bar.
Impact
Markdown users
Additional Context
No response
@AmanNegi commented on GitHub (Apr 30, 2023):
Hey there, I would like to work on this. If I'm right this is similar to our Octernship task right?
@annieappflowy commented on GitHub (Apr 30, 2023):
This is to implement a markdown syntax
@AmanNegi , would you like to give it a try?
@AmanNegi commented on GitHub (Apr 30, 2023):
I would like to but I didn't get what you exactly meant by implementing a markdown syntax. If something similar is already implemented could you please redirect me?
@annieappflowy commented on GitHub (Apr 30, 2023):
The Markdown guidebook: https://appflowy.gitbook.io/docs/essential-documentation/markdown
An example illustrating how to implement: https://github.com/AppFlowy-IO/AppFlowy/discussions/1100
@AmanNegi commented on GitHub (Apr 30, 2023):
Yeah this is similar to the Octernship task... I can surely work on this
@annieappflowy commented on GitHub (Apr 30, 2023):
Sounds good! Thank you 🙏
@AmanNegi commented on GitHub (May 12, 2023):
Hey there, sorry I was busy so this issue went inactive. I just now started looking at this issue, however I just noticed that
---has been previously implemented to add divider but it doesn't work currently. Also, I wanted to ask that theappflowy_editorwas previously released separately, so is this issue still relevant here?@Xazin commented on GitHub (May 12, 2023):
It should be implemented in the appflowy_editor repository.
Most, if not all, issues that have the tag
Editorare related to the appflowy_editor project, and thus have to be implemented there.All that has happened, is that the editor itself was decoupled from AppFlowy project, allowing others to easily adopt the Editor to build their own applications.
@AmanNegi commented on GitHub (May 12, 2023):
Okay great thanks a lot for the clarification @Xazin. However, I believe that we are supposed to create the shortcuts, builders and menu item within the main project itself, as we already have a few under
plugins\document\presentation\plugins. Correct me if I am wrong here.Can you please clarify on this @LucasXu0.
@Xazin commented on GitHub (May 12, 2023):
I don't think so, divider is a common markdown syntax, I'm not sure why it was implemented in the main project, it's most likely a remnant. This https://github.com/AppFlowy-IO/AppFlowy/tree/main/frontend/appflowy_flutter/lib/plugins/document/presentation/plugins/divider should be moved to the editor at this location https://github.com/AppFlowy-IO/appflowy-editor/tree/main/lib/src/render
Along with what it touches. (And support for
___should be added)Similary the markdown encoder/decoder should be updated to include the divider notation support. See https://github.com/AppFlowy-IO/appflowy-editor/tree/main/lib/src/plugins/markdown
@AmanNegi commented on GitHub (May 17, 2023):
Okay, so we are supposed to make the changes in the editor repo. Sorry for the delay, now that it's clear I will work on this immediately. ✨
@annieappflowy commented on GitHub (May 17, 2023):
Not related to the thread...
@AmanNegi , what's your Discord handle? Please DM me on Discord.
@annieappflowy commented on GitHub (Jun 12, 2023):
@AmanNegi , are you still working on this?
@AmanNegi commented on GitHub (Jun 12, 2023):
Yep now I am working on this, was waiting for the merging of
developandmainbranch.@Xazin commented on GitHub (Jun 13, 2023):
See for reference https://github.com/AppFlowy-IO/appflowy-editor/pull/118
All you need to do is add a Shortcut for
_that triggers the insertDividerHandler.On editor repo.
@AmanNegi commented on GitHub (Jun 13, 2023):
Thanks for the reference @Xazin. Perhaps should I move this issue in the
editor_repo?@Xazin commented on GitHub (Jun 13, 2023):
No need, it's fine, we can still link to this issue from the PR.
@AmanNegi commented on GitHub (Jun 13, 2023):
Okay great! 😺