Command-line utility to split a Markdown file into linked static web pages.
Project description
marksplitz
Command-line utility to split a Markdown file into linked static web pages.
Development work in progress.
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
- MDN Guide: Learn to style HTML using CSS
- MDN Reference: CSS: Cascading Style Sheets
Packages Used
Project Tools
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
marksplitz-0.1.dev8.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for marksplitz-0.1.dev8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88ca7abb469f4fc17f248974fc3f84805b3be3c89c469e288198b75d2f6eb6c6 |
|
MD5 | e53bee601a55dbcb1514a5a9ee57ac9a |
|
BLAKE2b-256 | ea73df4ea85a7c68d09977b649b44f3a2e335681dd6ebf376c25ba5ff7c06f25 |