GithubHelp home page GithubHelp logo

shuxiaokai / markdown-themes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imageslr/mweb-themes

0.0 0.0 0.0 4.47 MB

30+ 款 Markdown 预览主题,Typo.css、Vue、Bear、飞书云文档等风格,适用于 MWeb、Typora。

Home Page: https://imageslr.github.io/mweb-themes/

HTML 5.35% JavaScript 63.17% SCSS 17.57% CSS 13.91%

markdown-themes's Introduction

MWeb-Themes

30+ 款 Markdown 预览主题,包括 Typo.cssVueBearLark 等风格,适用于 MWeb、Typora 等笔记软件。

在线预览所有主题

目录

主题列表

浅色主题

ayu
bear-default
contrast
d-boring
default
duotone-heat
duotone-light
gandalf
indigo
jzman
lark
olive-dunk
red-graphite
smartblue
solarized-light
typo
v-green
vue

深色主题

ayu-mirage
charcoal
cobalt
dark-graphite
dieci
dracula
gotham
lighthouse
nord
panic
solarized-dark
toothpaste

部分主题预览

Bear 同款主题

灵感来自 Bear 的主题,共 22 款

默认配置:字号 16px、页宽 46rem。如果希望和 Bear 完全一致(字号 14px、页宽 40em),请自行更改 bear-default.scss 中的相关变量并重新编译。

Typo

基于 Typo.css 修改:

Vue

基于 typora-vue-theme 修改:

Indigo

基于 MDTU 修改:

Lark

灵感来自 飞书文档

使用主题

在 MWeb 中使用

MWeb 3.x:

  1. 下载 release 页面最新的主题压缩包 mweb3-themes.zip
  2. 打开 MWeb 偏好设置 - 预览样式 - 编辑 - 打开自定义样式所在的文件夹...(文件夹名为 PreviewCSS
  3. 将解压后的主题文件(.css 文件)拖到文件夹里
  4. 点击 MWeb 偏好设置 - 预览样式 - 刷新,可以看到所有主题列表
  5. 选择喜欢的主题

MWeb 4.0.x:

  1. 下载 release 页面最新的主题压缩包 mweb3-themes.zip
  2. 解压,得到一系列名为 mweb-xxx.css 的文件
  3. 打开 MWeb 偏好设置 - 自定义主题 - 新增亮主题 (如果是深色主题,应该选择“新增暗主题”)
  4. 主题名称命名为 mweb-xxx
  5. 出现一个主题编辑器,将右侧“按编辑器主题自动生成预览 CSS”取消勾选,然后将 mweb-xxx.css 文件的内容拷贝到右侧文本输入框中
  6. 点击“保存”,随后就可以在偏好设置中切换亮/暗主题了

MWeb 4.2.x (Mweb Pro):

  1. 下载与解压 mweb4-themes.zip
  2. 打开 MWeb 偏好设置 - 主题&样式 - 自定义主题 - 导入亮主题 (如果是深色主题,应该选择“导入暗主题”)
  3. 选中第一步解压后得到的全部的 mweb-xxx.mwebtheme 文件,导入即可
  4. 每个主题文件,均包含编辑器主题预览主题

Q: MWeb Pro 如何快速删除多个导入的主题文件?
A: 删除 ~/Library/Containers/com.coderforart.MWeb3/Data/Library/Application\ Support/themes 中的文件夹即可。删除后需要重启 MWeb。

在 Typora 中使用

  1. 下载 release 页面最新的主题压缩包 typora-themes.zip
  2. 打开 Typora 偏好设置 - 外观 - 打开主题文件夹
  3. 将解压后的主题文件(.css 文件)拖到文件夹里
  4. 重启 Typora
  5. 点击菜单栏 - 主题,可以看到所有主题列表
  6. 选择喜欢的主题

开发主题

本项目提供了一个标准样式模板,可以通过设置变量(颜色、字号等)的方式快速开发一个新的预览主题

请查看开发文档

markdown-themes's People

Contributors

dependabot[bot] avatar imageslr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.