Skip to content

Commit

Permalink
Upadte
Browse files Browse the repository at this point in the history
`mlike.css`: Auto Dark And Light(Mac os)
`Code & Code block`
`Highlight`
`Table`

Fix
`megamenu-menu`

Test on
`Linux(deepin)`
`Windows`
`Mac os`
  • Loading branch information
AntonVanke committed May 20, 2021
1 parent 8c4bbba commit 1bf6637
Show file tree
Hide file tree
Showing 31 changed files with 757 additions and 1,086 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
!/mlike/otf/SourceHanSansCN-Normal.otf
!/mlike/otf/SourceHanSansCN-Light.otf

/.idea/*
/.idea/*
*.release.md
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<a href="https://github.com/AntonVanke/typora-mlike-theme/releases"><img src="https://badgen.net/github/assets-dl/AntonVanke/typora-mlike-theme" alt="Releases" /></a>
<a href="https://github.com/AntonVanke/typora-mlike-theme/releases"><img src="https://img.shields.io/github/downloads/AntonVanke/typora-mlike-theme/total?style=for-the-badge" alt="Releases" /></a>
<a href="https://github.com/AntonVanke/typora-mlike-theme/releases"><img src="https://img.shields.io/github/v/release/AntonVanke/typora-mlike-theme?style=for-the-badge" alt="Releases" /></a>

---

`简体中文` | [English](README_EN.md)
Expand All @@ -7,7 +9,7 @@
#### 关于Mlike

[![Mlike](https://z3.ax1x.com/2021/05/16/gcwFqs.md.png)](https://imgtu.com/i/gcwFqs)
[![Mlike](https://z3.ax1x.com/2021/05/20/gIf6pt.md.png)](https://imgtu.com/i/gIf6pt)

`Mlike`,根据我喜欢的方式来定义`Markdown`。我并不会`css`,我只能通过[ MDN (mozilla.org)](https://developer.mozilla.org/zh-CN/docs/Learn/CSS)来学习如何编写`css`,并打造我喜欢的 Typora 主题。如果你恰巧也喜欢这个主题,可以点个`Star`,如果你有想法或者建议,也可以 告诉我/`PR`,感谢。

Expand All @@ -17,20 +19,20 @@

1. 下载本主题的压缩文件[Latest release](https://github.com/AntonVanke/typora-mlike-theme/releases/latest)
2. 打开`Typora`, 点击菜单栏的`偏好设置`-`外观`-`打开主题文件夹`
3.`解压后的`文件复制到主题文件夹下(压缩包包含`mlike`文件夹、`mlike-light.css``mlike-dark.css`)
3.`解压后的`文件复制到主题文件夹下(压缩包包含`mlike`文件夹、 `mlike.css` `mlike-light.css``mlike-dark.css`)
4. 重新启动`Typora`,点击菜单栏的`主题`-`Mlike Light`或者`Mlike Dark`

具体的安装方法可查看 [Install Theme (typora.io)](https://theme.typora.io/doc/Install-Theme/)

#### 预览图

[![Mlike-Dark2](https://z3.ax1x.com/2021/05/16/gcwSG8.md.png)](https://imgtu.com/i/gcwSG8)
[![gI2X0H.md.png](https://z3.ax1x.com/2021/05/20/gI2X0H.md.png)](https://imgtu.com/i/gI2X0H)

[![Mlike-Dark3](https://z3.ax1x.com/2021/05/16/gcdzPf.md.png)](https://imgtu.com/i/gcdzPf)
[![gI2ztI.md.png](https://z3.ax1x.com/2021/05/20/gI2ztI.md.png)](https://imgtu.com/i/gI2ztI)

[![Mlike-Light2](https://z3.ax1x.com/2021/05/16/gcdvIP.md.png)](https://imgtu.com/i/gcdvIP)
[![gIRSht.md.png](https://z3.ax1x.com/2021/05/20/gIRSht.md.png)](https://imgtu.com/i/gIRSht)

[![Mlike-Light3](https://z3.ax1x.com/2021/05/16/gcwPMQ.md.png)](https://imgtu.com/i/gcwPMQ)
[![gI2b6O.md.png](https://z3.ax1x.com/2021/05/20/gI2b6O.md.png)](https://imgtu.com/i/gI2b6O)

> 更多预览请查看 [AntonVanke/typora-mlike-theme: A typora theme. 一个 Typora 主题 (github.com)](https://github.com/AntonVanke/typora-mlike-theme) 下的`_preview`文件夹,如果你的网络环境不好,你也可以访问`_preview`文件夹下的 [`preview.md`](_preview/preview.md) 查看图片。
Expand Down
14 changes: 8 additions & 6 deletions README_EN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<a href="https://github.com/AntonVanke/typora-mlike-theme/releases"><img src="https://badgen.net/github/assets-dl/AntonVanke/typora-mlike-theme" alt="Releases" /></a>
<a href="https://github.com/AntonVanke/typora-mlike-theme/releases"><img src="https://img.shields.io/github/downloads/AntonVanke/typora-mlike-theme/total?style=for-the-badge" alt="Releases" /></a>
<a href="https://github.com/AntonVanke/typora-mlike-theme/releases"><img src="https://img.shields.io/github/v/release/AntonVanke/typora-mlike-theme?style=for-the-badge" alt="Releases" /></a>

---

[简体中文](README.md) | `English`
Expand All @@ -15,21 +17,21 @@

#### How to install theme

1. Put the `mlike`folder, `mlike-light.css`and `mlike-dark.css` into the theme folder.
1. Put the `mlike`folder, `mlike.css` `mlike-light.css`and `mlike-dark.css` into the theme folder.
2. Reopen Typora.
3. Switch theme to`mlike-light.css` or `mlike-dark.css` .

Please refer to [Install Theme (typora.io)](https://theme.typora.io/doc/Install-Theme/)

#### Preview

![](_preview/Mlike-Dark2.png)
![](_preview/Mlike_Dark_Mac_1.png)

![Mlike-Dark3](_preview/Mlike-Dark3.png)
![](_preview/Mlike_Dark_Windows_1.png)

![Mlike-Dark3](_preview/Mlike-Light2.png)
![](_preview/Mlike_Light_Mac_1.png)

![Mlike-Dark3](_preview/Mlike-Light3.png)
![](_preview/Mlike_Light_Windows_1.png)

> For more previews, see [`preview.md`](_preview/preview.md) file.
Expand Down
Binary file removed _preview/Markdown - Example-Dark.pdf
Binary file not shown.
Binary file removed _preview/Markdown - Example-Light.pdf
Binary file not shown.
Binary file added _preview/Markdown_Reference_Dark.pdf
Binary file not shown.
Binary file added _preview/Markdown_Reference_Light.pdf
Binary file not shown.
Binary file removed _preview/Mlike-Dark.png
Binary file not shown.
Binary file removed _preview/Mlike-Dark2.png
Binary file not shown.
Binary file removed _preview/Mlike-Dark3.png
Binary file not shown.
Binary file removed _preview/Mlike-Light.png
Binary file not shown.
Binary file removed _preview/Mlike-Light2.png
Binary file not shown.
Binary file removed _preview/Mlike-Light3.png
Binary file not shown.
Binary file removed _preview/Mlike-Light4.png
Binary file not shown.
Binary file modified _preview/Mlike.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Dark_Mac_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Dark_Mac_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Dark_Mac_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Dark_Windows_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Dark_Windows_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Dark_Windows_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Light_Mac_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Light_Mac_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Light_Mac_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Light_Windows_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Light_Windows_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _preview/Mlike_Light_Windows_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 13 additions & 8 deletions _preview/preview.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[![gcw9xg.png](https://z3.ax1x.com/2021/05/16/gcw9xg.png)](https://imgtu.com/i/gcw9xg)
[![gcwSG8.png](https://z3.ax1x.com/2021/05/16/gcwSG8.png)](https://imgtu.com/i/gcwSG8)
[![gcdzPf.png](https://z3.ax1x.com/2021/05/16/gcdzPf.png)](https://imgtu.com/i/gcdzPf)
[![gcwpRS.png](https://z3.ax1x.com/2021/05/16/gcwpRS.png)](https://imgtu.com/i/gcwpRS)
[![gcdvIP.png](https://z3.ax1x.com/2021/05/16/gcdvIP.png)](https://imgtu.com/i/gcdvIP)
[![gcwPMQ.png](https://z3.ax1x.com/2021/05/16/gcwPMQ.png)](https://imgtu.com/i/gcwPMQ)
[![gcwirj.png](https://z3.ax1x.com/2021/05/16/gcwirj.png)](https://imgtu.com/i/gcwirj)
[![gcwFqs.png](https://z3.ax1x.com/2021/05/16/gcwFqs.png)](https://imgtu.com/i/gcwFqs)
[![gI2One.md.png](https://z3.ax1x.com/2021/05/20/gI2One.md.png)](https://imgtu.com/i/gI2One)
[![gI2j7d.md.png](https://z3.ax1x.com/2021/05/20/gI2j7d.md.png)](https://imgtu.com/i/gI2j7d)
[![gI2X0H.md.png](https://z3.ax1x.com/2021/05/20/gI2X0H.md.png)](https://imgtu.com/i/gI2X0H)
[![gI2qXD.md.png](https://z3.ax1x.com/2021/05/20/gI2qXD.md.png)](https://imgtu.com/i/gI2qXD)
[![gI2b6O.md.png](https://z3.ax1x.com/2021/05/20/gI2b6O.md.png)](https://imgtu.com/i/gI2b6O)
[![gI2xAA.md.png](https://z3.ax1x.com/2021/05/20/gI2xAA.md.png)](https://imgtu.com/i/gI2xAA)
[![gI2ztI.md.png](https://z3.ax1x.com/2021/05/20/gI2ztI.md.png)](https://imgtu.com/i/gI2ztI)
[![gIRSht.md.png](https://z3.ax1x.com/2021/05/20/gIRSht.md.png)](https://imgtu.com/i/gIRSht)
[![gIR99P.md.png](https://z3.ax1x.com/2021/05/20/gIR99P.md.png)](https://imgtu.com/i/gIR99P)
[![gIRC1f.md.png](https://z3.ax1x.com/2021/05/20/gIRC1f.md.png)](https://imgtu.com/i/gIRC1f)
[![gIRPc8.md.png](https://z3.ax1x.com/2021/05/20/gIRPc8.md.png)](https://imgtu.com/i/gIRPc8)
[![gIRijS.md.png](https://z3.ax1x.com/2021/05/20/gIRijS.md.png)](https://imgtu.com/i/gIRijS)

Loading

0 comments on commit 1bf6637

Please sign in to comment.