-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Remove Markdown markers when copying inline elements #13735
Comments
|
|
不添加 ` 的话粘贴会有问题,这个目前只能保持不变了,感谢反馈。 |
text/siyuan 能搞吗?只有思源内部粘贴为行级代码 |
可以参考语雀的方案,语雀的行级代码复制后,粘贴到自己或其他笔记软件中是保留了反引号的,但复制到其他文本中或浏览器中是纯文本格式,虽然我也不清除是怎么实现的 |
@Vanessa219 看看能否改进? |
如果复制不需要标记符的话,就会和复制纯文本功能重叠。需要做以下调整:
|
复制纯文本还是留着比较好,有的人应该习惯按复制纯文本快捷键,保证在任何情况下这个都可用。 只有选中的文本都在单个行级代码元素中时,复制才去掉 ` |
只有代码块的话,粗体等就不一致。 |
那就改一下: 选中的文本在单个行级元素中时,复制文本去掉 Markdown 标记符 |
那就是 #13735 (comment) 这个了嘛 |
好吧。我现在纠结的地方在于,复制多个行级元素需不需要保留标记符? |
text/plain 这个就都不保留了 |
text/plain
移除标记符
不要选中文本,直接按 Ctrl+C 就行了。 不过行级公式确实可以特殊处理一下?
这个也行 |
我只是想要复制部分内容,而不是整个段落,这边只是举例而已 |
你一般复制了要粘贴到哪里? |
AI软件、Github、语雀 写了一个PPT插件,支持直接插入markdown,现在粘贴到ppt,也需要markdown |
@88250 要不在设置里加个开关 |
* commit '2ee69394da22d5cdbd30ae46b36f0bb4c8e15de4': (101 commits) 🔖 Release v3.1.20 🎨 PNPM Lint 📝 Update changelogs 📝 Improve the user guide 📝 Improve User Guide (siyuan-note#13825) 🎨 siyuan-note#13793 🎨 Improve workspace path checking siyuan-note#7569 🎨 siyuan-note#13677 🎨 siyuan-note#13801 🎨 siyuan-note#13796 🎨 siyuan-note#13735 🎨 siyuan-note#13704 🎨 Supports setting keep-alive notification text on Android siyuan-note#13815 🎨 Improve the user guide 🎨 siyuan-note#13704 🎨 Backlink count at the doc block title including sub-blocks siyuan-note#13791 🎨 Improve tree block stat siyuan-note#13811 🎨 Improve text 🎨 Backlink count at the doc block title including sub-blocks siyuan-note#13791 🎨 siyuan-note#13791 ...
行内复制
text/plain
移除标记符In what scenarios do you need this feature?
Describe the optimal solution
Describe the candidate solution
No response
Other information
No response
The text was updated successfully, but these errors were encountered: