爱意满满的作品展示区。
xcatliu

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

  •  
  •   xcatliu ·
    xcatliu · Jan 4, 2017 · 4784 views
    This topic created in 3591 days ago, the information mentioned may be changed or developed.

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


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

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

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

    Screenshot of SimpleMDE Theme Base

    Screenshot of SimpleMDE Theme Dark

    9 replies  •  2017-01-06 00:39:39 +08:00
    ichubei
    ichubei
    Jan 4, 2017 via Android
    1
    不错
    ddkangfu
    ddkangfu
    Jan 5, 2017
    2
    已收藏,楼主威武
    jinfeng333
    jinfeng333
    Jan 5, 2017
    3
    感谢分享 为楼主点赞
    Shazoo
    Shazoo
    Jan 5, 2017
    4
    | 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
    Shazoo
    Jan 5, 2017
    5
    额,补充下, typora 没这问题。引擎差异?
    xcatliu
    xcatliu
    OP
    Jan 5, 2017 via iPhone
    6
    @Shazoo 应该是用 marked 渲染的,可以给我开个 issue 回头我看看是什么问题
    Vanessa
    Vanessa
    Jan 5, 2017
    7
    呃,看来我也需要抽时间整理整理社区的 MD 编辑器了。把它单独抽出来,欢迎体验 https://hacpai.com/
    xcatliu
    xcatliu
    OP
    Jan 5, 2017 via iPhone
    8
    @Vanessa CodeMirrow 在移动端貌似有问题, hacpai 是直接退化成了 textarea 吧,有更好的方案吗?
    Vanessa
    Vanessa
    Jan 6, 2017
    9
    @xcatliu 嗯。 iPhone 上面有问题, Android 还可以。所以要兼容一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2924 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 11:23 · PVG 19:23 · LAX 03:23 · JFK 06:23
    ♥ Do have faith in what you're doing.