Skip to content

自定义样式主题

WuHuan edited this page Aug 7, 2015 · 3 revisions

样式主题

目前的自定义样式主题包括以下:

工具栏区域主题:

editormd.themes        = ["default", "dark"];

编辑器区域主题:

editormd.themes = [
    "default", "3024-day", "3024-night",
    "ambiance", "ambiance-mobile",
    "base16-dark", "base16-light", "blackboard",
    "cobalt",
    "eclipse", "elegant", "erlang-dark",
    "lesser-dark",
    "mbo", "mdn-like", "midnight", "monokai",
    "neat", "neo", "night",
    "paraiso-dark", "paraiso-light", "pastel-on-dark",
    "rubyblue",
    "solarized",
    "the-matrix", "tomorrow-night-eighties", "twilight",
    "vibrant-ink",
    "xq-dark", "xq-light"
];

预览区区域主题:

editormd.previewThemes = ["default", "dark"];

预览

主题样式的预览可以打开 https://pandao.github.io/editor.md/examples/themes.html 进行预览选择。

设置

点击选项按钮,即可设置。