maqi1520 / mdx-editor

⛷ A versatile WeChat typesetting editor,also a cross-platform Markdown note-taking software ⛷ 微信排版编辑器,也是一款跨平台 Markdown 笔记软件
https://editor.runjs.cool
GNU General Public License v3.0
1.03k stars 135 forks source link

用markdown写的有缩进,为啥粘贴到mdx-editor中没有缩进 #43

Closed Runnerxr closed 9 months ago

Runnerxr commented 9 months ago

用markdown写的有缩进,为啥粘贴到mdx-editor中没有缩进,这个我再次粘贴到微信公众号之后都需要对缩进进行一个个调整

maqi1520 commented 9 months ago

不需要呀 在 css tab 中写以下 css 即可

.markdown-body p{
  text-indent: 32px;
}
Runnerxr commented 8 months ago

有一个新问题,我在github上提交了,不知道为啥显示不全,我就用邮件发全一点

以下这段css格式的文本示例在typora中可以显示,但是切换到MDX中就无法识别了,有办法解决嘛 出售一台相机的机会成本就是卖者保留这台相机所带来的乐趣,或者是用生产这台相机的成本来生产其他产品带来的收益

熊锐

@. | ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2023年12月4日 09:18 | | 收件人 | @.> | | 抄送人 | @.> , @.***> | | 主题 | Re: [maqi1520/mdx-editor] 用markdown写的有缩进,为啥粘贴到mdx-editor中没有缩进 (Issue #43) |

不需要呀 在 css tab 中写以下 css 即可

.markdown-bodyp{ text-indent:32px; }

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>