A tool for compiling markdown files into standalone HTML documents, using Python Markdown. Supports Latex (given an existing Tex distribution), custom CSS and JavaScript, multiple document variations from a single source file, and a live output view.
Project description
Lamarkdown
Lamarkdown is a command-line document preparation system based on Python-Markdown. It attempts to address similar use cases to LaTeX, but using the Markdown and HTML formats. It is not directly intended to build static websites, though its extensions can be reused in MkDocs (or in other applications based on Python-Markdown).
Take the Lamarkdown tour to get a first impression.
Requirements and Installation
Lamarkdown depends on Python 3.8+. To install via pip:
$ pip install lamarkdown
Basic Usage
To compile mydocument.md
into mydocument.html
, run:
$ lamd mydocument.md
To enable the live-update mode, use -l
/--live
:
$ lamd -l mydocument.md
This will launch a local web-server and a web-browser, and will keep mydocument.html
in sync with any changes made to mydocument.md
, until you press Ctrl+C in the terminal.
Full Documentation
See the full documentation at lamarkdown.github.io.
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
Built Distribution
File details
Details for the file lamarkdown-0.10.1.tar.gz
.
File metadata
- Download URL: lamarkdown-0.10.1.tar.gz
- Upload date:
- Size: 90.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.7.5-zen1-1-zen
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 786f9f2be6dcd902220aa6700560baa32aa63f4f3eabc8147b07380745c4a09c |
|
MD5 | ae3180ab19ae2075a2fb744a04a2c68f |
|
BLAKE2b-256 | 9fb4b225e8bb79a769512f5fdaaf93fea978467f95039946eea5026b8b1cd8e9 |
File details
Details for the file lamarkdown-0.10.1-py3-none-any.whl
.
File metadata
- Download URL: lamarkdown-0.10.1-py3-none-any.whl
- Upload date:
- Size: 105.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.7.5-zen1-1-zen
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1599da5641c6c16dc5fc75640ed2526906db9b1aadc59c3fcde456ea0690f81f |
|
MD5 | 805e2fbe37a9a9825c9eb8bc18a385a6 |
|
BLAKE2b-256 | eaf1ee6d70ca9c187bc94f713d3ea4b0646842000e312c99ff63a0639f4029a5 |