Skip to main content

No project description provided

Project description

Slides XP

A simple but flexible markdown slide-show viewer.

Running

sxp <directories to serve>

Theming

You can use the --theme option to specify the a built-in theme, or a path to a directory containing CSS theme files.

The built-in themes are:

  • default
  • xp

Custom CSS

A theme directory should contain (at least) these files:

  • main.css: main stylesheet. Always loaded.
  • slide.css: stylesheet for slide pages.
  • picker.css: stylesheet for slide picker page.

These stylesheets are mounted at the /theme endpoint.

Within these stylesheets, the following classes can be selected.

  • .highlight: code blocks
  • .slide-content: slide content
  • .picker-box: slide picker
  • .picker-item: slide within slide picker

And the following variables are available:

  • --hl-comment: code block highlighting, comment
  • --hl-doc: code block highlighting, documentation
  • --hl-keyword: code block highlighting, keyword
  • --hl-var: code block highlighting, variable
  • --hl-func: code block highlighting, function
  • --hl-type: code block highlighting, type
  • --hl-string: code block highlighting, string

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

slides_xp-0.0.1.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

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

slides_xp-0.0.1-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file slides_xp-0.0.1.tar.gz.

File metadata

  • Download URL: slides_xp-0.0.1.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for slides_xp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ec1b7c63a4967bcdf13620269179134ab620b71d751c17aafd784f7e200e389b
MD5 2c7dfff10bfc3ebe579414f0981bd50a
BLAKE2b-256 7fc4868fa785881aca1acfb77daf602db141c4501d62b0fb7678815ad7c46a72

See more details on using hashes here.

File details

Details for the file slides_xp-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: slides_xp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for slides_xp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c1dd0a38abab963d320541ef0d9ed4aaba9377dd405312c8d13a66f8a2646e2
MD5 09dda0136f0c6f762a76e8261f9f7858
BLAKE2b-256 d58de187950ac12b2a2f3a01605904da20a592561d8802d4cbd8c4ece5571a5f

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