V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
xcatliu
V2EX  ›  分享创造

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

  •  
  •   xcatliu ·
    xcatliu · 2017-01-04 23:04:58 +08:00 · 3673 次点击
    这是一个创建于 2660 天前的主题,其中的信息可能已经有所发展或是发生改变。

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


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

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

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

    Screenshot of SimpleMDE Theme Base

    Screenshot of SimpleMDE Theme Dark

    9 条回复    2017-01-06 00:39:39 +08:00
    ichubei
        1
    ichubei  
       2017-01-04 23:14:44 +08:00 via Android
    不错
    ddkangfu
        2
    ddkangfu  
       2017-01-05 09:31:35 +08:00
    已收藏,楼主威武
    wujunze
        3
    wujunze  
       2017-01-05 10:16:16 +08:00
    感谢分享 为楼主点赞
    Shazoo
        4
    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
        5
    Shazoo  
       2017-01-05 15:54:32 +08:00
    额,补充下, typora 没这问题。引擎差异?
    xcatliu
        6
    xcatliu  
    OP
       2017-01-05 17:56:09 +08:00 via iPhone
    @Shazoo 应该是用 marked 渲染的,可以给我开个 issue 回头我看看是什么问题
    Vanessa
        7
    Vanessa  
       2017-01-05 21:24:54 +08:00
    呃,看来我也需要抽时间整理整理社区的 MD 编辑器了。把它单独抽出来,欢迎体验 https://hacpai.com/
    xcatliu
        8
    xcatliu  
    OP
       2017-01-05 23:05:58 +08:00 via iPhone
    @Vanessa CodeMirrow 在移动端貌似有问题, hacpai 是直接退化成了 textarea 吧,有更好的方案吗?
    Vanessa
        9
    Vanessa  
       2017-01-06 00:39:39 +08:00
    @xcatliu 嗯。 iPhone 上面有问题, Android 还可以。所以要兼容一下
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5616 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:11 · PVG 11:11 · LAX 20:11 · JFK 23:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.