Premark
Premark generates single-file HTML presentations from one or many markdown files, using Remark.js. Based on Remarker by @tylerdave.
License: MIT
Documentation: Read The Docs
Notable Features
-
Create slides from simple Markdown. Use three dashes on their own line (
---) to indicate the transition from one slide to another. All other markdown features work as expected. -
The output is always a single HTML file. This means you can open it in your browser without spinning up a web server.
- In contrast, with vanilla Remark, if your main HTML file needs to load any other files then it can't be opened locally without a web server.
-
Your slides can be stored in multiple markdown files and Premark will automatically "stitch" them together into a single presentation, even creating title slides for each section if you want.
Usage Example
Generate presentation.html from Markdown in slides.md:
premark -o presentation.html slides.md
You can also pass in a custom CSS file to style your presentation.
premark -o presentation.html --stylesheet style.css slides.md
Creating a Presentation from Multiple Sections
You may wish to build your presentation from multiple markdown files, each representing a "section" of the final slideshow. Premark supports this through the use of a configuration file, where you can specify the order of your sections.
Say you have a folder md_slides containing individual sections intro.md, section_1.md, section_2.md, and closing.md.
You could create a config file like the following:
# config.yaml
sections:
- intro.md
- section_1.md
- section_2.md
- closing.md
And then invoke Premark with
premark -c config.yaml -o slides.html md_slides
The resulting slides.html will contain all four sections.
Metadata
Release files for Premark 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Premark-0.1.3.tar.gz | 17.0 kB | Without provenance | Details for Premark-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Premark-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for Premark-0.1.3-py3-none-any.whl |
Total release size: 28.1 kB
Release files / Premark-0.1.3.tar.gz
| Download URL | Premark-0.1.3.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c84170026f11cba2a80f2b6194103cb8fe152a4e72323330d793cc14c71b940
|
|
BLAKE2b-256 checksum How to use checksums |
5b21935f7ec9cb4b86173511d028bbaf14e6b677c460432a3eeb4020abc683f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / Premark-0.1.3-py3-none-any.whl
| Download URL | Premark-0.1.3-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecd948f99aa8edcfc5ef71ea429fccf3790bd875c4c7be4102e03f7b94a44556
|
|
BLAKE2b-256 checksum How to use checksums |
172ce781b887b8540bd7c2ee28c268ad2fb3076c784f58a4d158e02bc0b1d66e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for Premark 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.