This release is a pre-release and may not be stable for production use.
marksplitz
Command-line utility to split a Markdown file into linked static web pages.
Development work in progress.
Directive Comments
The following HTML comments can be placed in the source Markdown document to alter the generated HTML.
<!-- title: new-title -->
- Replace the default HTML title for the page.
<!-- class: class-1 class-2 -->
- Add one or more classes to the
contentdiv. - Use to apply additional styles via a
custom.cssfile.
Command-line Usage
usage: marksplitz [-h] [-o OUTPUT_DIR] [-n OUTPUT_NAME] [-i IMAGES_SUBDIR]
[-c CSS_FILE]
markdown_file
Split a Markdown file into linked HTML pages.
positional arguments:
markdown_file Path to the Markdown file to split.
options:
-h, --help show this help message and exit
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
Path to the output directory.
-n OUTPUT_NAME, --output-name OUTPUT_NAME
Base name for the output HTML files.
-i IMAGES_SUBDIR, --images-subdir IMAGES_SUBDIR
Subdirectory for images. Expected to be in the
directory containing the Markdown file. Contents are
copied to a subdirectory by the same name in the
output directory.
-c CSS_FILE, --css-file CSS_FILE
Optional name of a CSS file to include in the same
location as the HTML output. If a CSS file is not
specified, a default style is embedded in the HTML
output. If a CSS file is specified, the default style
is not included.If the specified CSS file does not
exist, it is created with the default style.
Reference
CSS
Customizing the generated HTML output requires using CSS.
- MDN Guide: Learn to style HTML using CSS
- MDN Reference: CSS: Cascading Style Sheets
Packages Used
Project Tools
Metadata
Release files for marksplitz 0.1.dev12
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 |
|---|---|---|---|---|
| marksplitz-0.1.dev12.tar.gz | 12.2 kB | Without provenance | Details for marksplitz-0.1.dev12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| marksplitz-0.1.dev12-py3-none-any.whl | Python 3 | none | any | Details for marksplitz-0.1.dev12-py3-none-any.whl |
Total release size: 21.6 kB
Release files / marksplitz-0.1.dev12.tar.gz
| Download URL | marksplitz-0.1.dev12.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42ef1334dd6d15dce8dee0ce87dd8a93a3d7d64f52ce8cd72db7630d8c215241
|
|
BLAKE2b-256 checksum How to use checksums |
d89879bb6b43dd0b2a485634c764ff73fc15917516dc7f01b9e85261cba85aaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / marksplitz-0.1.dev12-py3-none-any.whl
| Download URL | marksplitz-0.1.dev12-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fa72bda6eb2fd842f815f5e19c0287bb55262bd06866709ea2045f50a04422a
|
|
BLAKE2b-256 checksum How to use checksums |
3b15b966db9aa208f32ba6153fd2894fbc5464748c5c776b64cc4711f515ebf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Security for marksplitz 0.1.dev12
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.