Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] A Way to Disable Markdown parsing in AppFlowy #3816

Closed
MayurSMahajan opened this issue Oct 27, 2023 · 4 comments
Closed

[FR] A Way to Disable Markdown parsing in AppFlowy #3816

MayurSMahajan opened this issue Oct 27, 2023 · 4 comments
Assignees
Labels
editor features related to the rich-text editor new feature New feature or request Q2 24

Comments

@MayurSMahajan
Copy link
Collaborator

MayurSMahajan commented Oct 27, 2023

Description

Can markdown parsing be something disabled via config setting? So if off and we want markdown, typing / to bring up the menu to choose a "markdown" option (like code block, image, table, etc. already are today) would switch that block to markdown?

I like the shortcut to avoid having markdown parsed, but I would prefer to disable markdown completely by default and choose when to use it. Most times I just want a very simple text editor.

Also ok with the same backtick shortcut GitHub has, but the problem is you can't edit text in there. In other words, you need to type everything at once. If you go back in between the backticks, you're adding normal text.

The second issue is that markdown is parsed while you are in the middle of the backtick.

So you type ` and then go to type a word with two underscores before you close that backtick and things end up italic inside the red code.

Ultimately the markdown parsing makes it impossible to do anything other than use a code block if you have multiple underscores in a line. It's a way big issue actually. I know I just rattled off what are a few different issues, sorry.

Originally posted by @tmaiaroto in #3628 (comment)

Impact

All users who want to use AppFlowy as a simple text-based notes app. OR
All users who want to disable markdown syntax in some use-cases.

@MayurSMahajan MayurSMahajan added new feature New feature or request editor features related to the rich-text editor labels Oct 27, 2023
@annieappflowy
Copy link
Collaborator

#3964

@Xazin
Copy link
Contributor

Xazin commented Apr 8, 2024

We have the \ backslash to ignore markdown, so this is how it would look:

Hello world, and `\_welcome_ to appflowy`.

Which should end up looking like this:

Hello world, and _welcome_ to appflowy.

@annieappflowy
Copy link
Collaborator

cmd / ctrl z to undo markdown

@Xazin
Copy link
Contributor

Xazin commented Oct 3, 2024

Closing this for now, as Annie mentions above, you can use CTRL/CMD + Z to undo the latest applied markdown, and you can continue to complete your text as intended.

We will most likely make improvements to this behavior in the future.

@Xazin Xazin closed this as completed Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor features related to the rich-text editor new feature New feature or request Q2 24
Projects
None yet
Development

No branches or pull requests

3 participants