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.
Compared to the default theme style, the following aspects have been mainly modified:
[!IMPORTANT]
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!
Using custom themes is very simple, as follows:
Preferences
-> Appearance
-> Open Theme Folder
mdmdt.cs
file to the theme folder.Menu Bar
-> Themes
, Select Mdmdt theme and complete the theme switch.
[!NOTE] Note: The mdmdt.css file contains both bright and dark themes, which will automatically switch between bright and dark themes according to the system mode.
If you only want to use a separate bright or dark theme, the method is as follows:
Preferences
-> Appearance
-> Open Theme Folder
mdmdt-light.css
or mdmdt-dark.css
to the theme folder.Menu Bar
-> Themes
, Select Mdmdt Light or Mdmdt Dark theme and complete the theme switch.If you are not satisfied with the font, you can modify the corresponding font as follows:
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;
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;
Attention: The prerequisite for changing the font is that the corresponding font is installed on your computer, otherwise the modification is invalid.
To export an HTML file, you can directly select the current theme to export HTML If you want to export HTML files with customizable styles, you can use the Mdtht plugin:
Plugin homepage address: Mdtht-Github-address Mdtht-Gitee-address
This plugin provides the following rich features:
Please refer to the plugin homepage for specific details of mdtht.js plugin.
Export mdtht.js as an HTML rendering (Light theme)
Export mdtht.js as an HTML rendering (Dark theme)