码字 md 的主题提取出来了,顺便给 SimpleMDE Markdown Editor 添加了主题功能

2017-01-04 23:04:58 +08:00
 xcatliu

前情提要: 码字 md - 干净精致的 Markdown 编辑器


还是挺喜欢 SimpleMDE 的,但是官方一直没有比较完善的主题功能。

最近花了点时间把 码字 md 的主题提取出来了,可以很方便的在自己的网站使用了。

另外也可以很方便的创建主题

3677 次点击
所在节点    分享创造
9 条回复
ichubei
2017-01-04 23:14:44 +08:00
不错
ddkangfu
2017-01-05 09:31:35 +08:00
已收藏,楼主威武
wujunze
2017-01-05 10:16:16 +08:00
感谢分享 为楼主点赞
Shazoo
2017-01-05 15:52:46 +08:00
| Key | Action |
| ---------------------- | ---------------------------------------- |
| `Ctrl+a c ` | new window |
| `Ctrl+a n ` | next window |
| `Ctrl+a p ` | previous window |
| `Ctrl+a “ ` | select window from list |
| `Ctrl+a Ctrl+a ` | previous window viewed |
| `Ctrl+a S ` | split terminal horizontally into regions |
| `Ctrl+a | ` | split terminal vertically into regions |
| `Ctrl+a :resize` | resize region |
| `Ctrl+a :fit ` | fit screen size to new terminal size |
| `Ctrl+a :remove` | remove region |
| `Ctrl+a tab ` | Move to next region |
| `Ctrl+a d ` | detach screen from terminal |
| `Ctrl+a A ` | set window title |
| `Ctrl+a x ` | lock session |
| `Ctrl+a [ ` | enter scrollback/copy mode |
| `Ctrl+a ] ` | paste buffer |
| `Ctrl+a > ` | write paste buffer to file |
| `Ctrl+a < ` | read paste buffer from file |
| `Ctrl+a ? ` | show key bindings/command names |
| `Ctrl+a : ` | goto screen command prompt |


表格里面的 code 域中的管道符“|”,渲染出来有些问题。(表内的第 7 行)。
Shazoo
2017-01-05 15:54:32 +08:00
额,补充下, typora 没这问题。引擎差异?
xcatliu
2017-01-05 17:56:09 +08:00
@Shazoo 应该是用 marked 渲染的,可以给我开个 issue 回头我看看是什么问题
Vanessa
2017-01-05 21:24:54 +08:00
呃,看来我也需要抽时间整理整理社区的 MD 编辑器了。把它单独抽出来,欢迎体验 https://hacpai.com/
xcatliu
2017-01-05 23:05:58 +08:00
@Vanessa CodeMirrow 在移动端貌似有问题, hacpai 是直接退化成了 textarea 吧,有更好的方案吗?
Vanessa
2017-01-06 00:39:39 +08:00
@xcatliu 嗯。 iPhone 上面有问题, Android 还可以。所以要兼容一下

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/332273

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX