Skip to main content

Theme collection for markpub

Project description

markpub_themes

Management and use of themes with markpub, a markdown web publishing package.

Installation

pip install markpub-themes

Help information is available:

markpub-themes -h

Available themes

List the themes available for use:

markpub-themes list

Select a theme

The default theme used by Markpub is named "dolce".

To select another theme to use as the default:

markpub-themes activate

Clone a theme for customization

A theme can be installed locally and customized.
Cloning a theme (1) installs the HTML, JS, and CSS files in a Markpub initialized folder in the ".markpub/themes/" directory, and (2) sets the "theme" value in the Markpub config file: ".markpub/markpub.yaml".

markpub-themes clone

Python usage

import markpub_themes

markpub_themes.list_themes()

markpub_themes.get_theme_path('dolce')

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markpub_themes-2.0.0.tar.gz (66.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markpub_themes-2.0.0-py3-none-any.whl (51.7 kB view details)

Uploaded Python 3

File details

Details for the file markpub_themes-2.0.0.tar.gz.

File metadata

  • Download URL: markpub_themes-2.0.0.tar.gz
  • Upload date:
  • Size: 66.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for markpub_themes-2.0.0.tar.gz
Algorithm Hash digest
SHA256 c5505fa643dd000467bad303a305c1de8795e1b6505a59df7f49f1283c607d5c
MD5 dc85f7288ff2d5f4bbd55e75f0a79676
BLAKE2b-256 859b75efa965843addfd05e2f741be6378891ebcf643e049054580490707d239

See more details on using hashes here.

File details

Details for the file markpub_themes-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for markpub_themes-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 603e1d8ebef9da9946e0327f69cef073bc39142e236b1ae89f04383a3af49faa
MD5 65a162fcf00e2fc925965a04bac190ca
BLAKE2b-256 55f581d29775f3940dcb3c4e67ab05d7c95473ec928e8ac004a3cc34e3bdb3ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page