Skip to content

Latest commit

History

History
23 lines (14 loc) 路 1.21 KB

EXPORT_THEMES.md

File metadata and controls

23 lines (14 loc) 路 1.21 KB

Themes (Export)

MarkText allows you to modify the appearance of the document that you want to export. By default we provide three themes: Academic, GitHub and Liber (writing theme).

Install a theme

You can install a theme by copying the .css file to themes/export/ directory inside the application data directory location but you may need to restart MarkText to detect the theme.

Create a theme

MarkText use the GitHub theme as basic style that is always available. A custom theme can add additional styles but have to overwrite the GitHub style to make changes such as font family or the underling for heading. You can see all predefined styles here. An example for custom themes can be found here and here.

Theme settings

A theme currently only have a name (A-z0-9 -) that is defined by a CSS comment at the first line like:

/** Liber **/

.markdown-body {
  /* ... */
}