You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

**Mdmdt** is an abbreviation for Markdown Minimalism Document Theme, meaning: Markdown Minimalism Document Theme.
23
-
24
-
**Mdmdt** is a deeply customized personalized Typora theme, aimed at creating a **refreshing and minimalist** document style.
23
+
**Mdmdt** is an abbreviation for Markdown Minimalism Document Theme, meaning: Markdown Minimalism Document Theme.**Mdmdt** is a deeply customized personalized Typora theme, aimed at creating a **refreshing and minimalist** document style. The **Mdmdt** theme has now been included in the [official Typora theme library](https://theme.typoraio.cn).
25
24
26
25
Compared to the default theme style, the following aspects have been mainly modified:
27
-
1. A simple and comfortable color scheme style
28
-
2. Add rounded corner style
29
-
3. Title Style
30
-
4. Table Style
31
-
5. Reference box style
32
-
6. Image Style
33
-
7. Code Highlight Style
34
-
8. File Tree Style
35
-
9. Document list style: changed to card structure
36
-
10. Outline style: Added a directory tree structure, making the directory hierarchy more concise and clear
37
-
11. Automatically follow the bright/dark theme mode of the system (the bright/dark theme can be set separately)
26
+
1. Simple and comfortable color matching style
27
+
2. Modify the title style
28
+
3. Modify the table style
29
+
4. Modify the reference box style
30
+
5. Add rounded corner style to the image
31
+
6. Add highlight style to code
32
+
7. Modify file tree, outline, and document list styles
33
+
8. Automatic follow system's light/dark theme mode (can be set separately for light/dark themes)
34
+
9. Modify other UI styles
38
35
39
36
> [!IMPORTANT]
40
37
>
41
38
> **Attention**: This theme has only been tested in Windows and MacOS environments, and has not been tested in Linux environments. Please be aware when using it!
@@ -74,13 +74,14 @@ If you only want to use a separate bright or dark theme, the method is as follow
74
74
75
75
76
76
# Modify font
77
-
If you are not satisfied with the font, you can modify the corresponding font as follows:
77
+
If you are not satisfied with the font, you can refer to the following methods to modify the corresponding font:
78
78
79
-
1. Modify the font of the main text, find`body {font-family:"PingFang SC",..., !important;}` 、`body.os-windows {font-family: Helvetica,..., !important;}` and `textarea {...}`, and add the font you want to use at the beginning of `font-family:`, such as `font-family: "name of the font you want to use", Helvetica, ..., !important;`
79
+
1. Modify the text font and find: `font-family:"PingFang SC", "Microsoft YaHei", Arial, "Helvetica Neue", Helvetica, sans-serif;` , Then add the font you want to use in the first position after "font-family:", such as:`font-family: "The font name you want to use", "PingFang SC", ..., sans-serif;`
80
80
81
-
2. Modify the font of the code, find `code, tt {...}` and `pre {...}`, and add `font-family: "name of the font you want to use" !important;` Then modify `.os-windows pre,.os-windows code {font-family: initial !important;}` , such as `font-family: "name of the font you want to use" !important;`
81
+
2. Modify the code font and find: `--monospace: "JetBrains Mono", "Source Code Pro", "Fira Code", Consolas, Inconsolata, "Cascadia Code", Monaco, "Ubuntu Mono", monospace;`,Then add the font you want to use in its first position, such as: `--monospace: "The font name you want to use", "JetBrains Mono", ..., monospace;`
82
+
83
+
**Attention: The prerequisite for changing the font is that the corresponding font is installed on your computer, otherwise the modification is invalid;** If you are not familiar with the "font-family" property of CSS, you can refer to it here: https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family
82
84
83
-
**Attention: The prerequisite for changing the font is that the corresponding font is installed on your computer, otherwise the modification is invalid.**
84
85
85
86
# Export HTML
86
87
@@ -108,10 +109,12 @@ This plugin provides the following rich features:
108
109
109
110
Please refer to the plugin homepage for specific details of **mdtht.js** plugin.
110
111
112
+
---
113
+
111
114
**Export mdtht.js as an HTML rendering (Light theme)**
115
+
<imgsrc="/media/theme/mdmdt/mdtht-light.png"/>
112
116
113
117
---
114
-
<imgsrc="/media/theme/mdmdt/mdtht-light.png"/>**Export mdtht.js as an HTML rendering (Dark theme)**
115
118
116
-
---
119
+
**Export mdtht.js as an HTML rendering (Dark theme)**
0 commit comments