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

Supports disabling Markdown * and _ syntax input #11206

Closed
88250 opened this issue May 1, 2024 · 13 comments
Closed

Supports disabling Markdown * and _ syntax input #11206

88250 opened this issue May 1, 2024 · 13 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented May 1, 2024

https://ld246.com/article/1714532305412

@TCOTC
Copy link
Contributor

TCOTC commented Aug 16, 2024

需求:

备注:

  • Markdown 标记符都要默认开启

  • 等到这个功能也做了之后,要改一改设置界面,一行一个开关太占地方了:

    image

    最好是这种密集一些的开关:

    image

  • 最好能继续把剩下的其他 Markdown 标记符禁用也做了,让思源有能力彻底摆脱 Markdown 编辑器

@88250
Copy link
Member Author

88250 commented Sep 12, 2024

  • 设置界面暂时不动了
  • 这个 issue 仅考虑添加 *_,其他标记符看后续需求再议

@TCOTC
Copy link
Contributor

TCOTC commented Sep 14, 2024

@88250 我觉得应该默认启用

image

@88250
Copy link
Member Author

88250 commented Sep 14, 2024

这个只能对新用户默认启用,老用户的话默认只能关闭。

@TCOTC
Copy link
Contributor

TCOTC commented Sep 15, 2024

应该要把 粘贴/剪藏 和 输入 分离一下,否则关闭之后就复制的 HTML 就粘贴不成加粗和斜体了/剪藏网页没有加粗和斜体

p.s. 我印象中当时 #11141 也有这个问题,后面解决了?

image

@88250
Copy link
Member Author

88250 commented Sep 15, 2024 via email

@TCOTC
Copy link
Contributor

TCOTC commented Sep 15, 2024

想不起来之前有没有开过 issue 了,先记录到 #12489

@TCOTC
Copy link
Contributor

TCOTC commented Sep 15, 2024

这个只能对新用户默认启用,老用户的话默认只能关闭。

这就有个很大的问题,会影响老用户的粘贴和剪藏

@88250
Copy link
Member Author

88250 commented Sep 15, 2024

嗯,先记录一下,等有空我回溯看看相关代码。

@NeyaCat
Copy link

NeyaCat commented Sep 28, 2024

设置里有~foo~下标的转义,但是没有~~foo~~删除线的转义设置,希望能够加上

@TCOTC
Copy link
Contributor

TCOTC commented Sep 28, 2024

@NeyaCat 在什么情况下会需要输入 ~~ 呢?

@NeyaCat
Copy link

NeyaCat commented Sep 28, 2024

@NeyaCat 在什么情况下会需要输入 ~~ 呢?

有的小短文会用~符号来加强可爱、妩媚之类的语气,会连续使用多个~,并穿插到文本中,就很容易出现这种情况。
我经常遇到粘贴文本的时候大片变成下标并伴有删除线的情况……

@TCOTC
Copy link
Contributor

TCOTC commented Sep 28, 2024

确实,关联一下 #12641

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants