V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
xcatliu

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

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