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.1.2.tar.gz (1.5 MB 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.1.2-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for markpub_themes-2.1.2.tar.gz
Algorithm Hash digest
SHA256 3153680c8155485d4758118a5d026e975df30adc283ccd2f685899303f10e2ca
MD5 8d37a5d61a2a9c2907eec2a0d696047d
BLAKE2b-256 2938e400b6054ffa5fa8314b66914a99adc6d7f3581798f77b745d23cbf704e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for markpub_themes-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89e169e260ca1a2d40cb358901e9b7f12fd0b32452f7b12bc8c88bd1f3691735
MD5 e15463a3942a556d29ba43e04e0aef01
BLAKE2b-256 936a5e9b2845177969cc150f21b0b9aeba5b3afa1f78e8a63b232c2260b3efe5

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