Skip to main content

A powerful Markdown-based typesetting system.

Project description

LayerDocs: Modular & Deep Typesetting 🚀

PyPI version License: GPL v3

LayerDocs is a next-generation typesetting system that combines the simplicity of Markdown with the power of modular programming. It is designed for developers who need more depth than standard Markdown but want something more modern than LaTeX.

✨ Key Features

  • 🧩 Modular Syntax: Use .function { content } to build complex layouts.
  • 🎨 Premium Themes: Built-in support for professional PDF and HTML outputs.
  • 🐍 Python Powered: Full CLI and API support for Python workflows.
  • Auto-Engine: Automatically manages the underlying Kotlin typesetting engine.

📥 Installation

pip install layerdocs

🚀 Quick Start

1. Create a Document (main.qd)

# Welcome to LayerDocs

.box(title="Note") {
    This is a modular component rendered with LayerDocs!
}

!(50%)[Logo](https://raw.githubusercontent.com/LayerDocs/LayerDocs-core/main/src/main/resources/assets/images/logo.png)

2. Compile via CLI

python -m layerdocs c main.qd

3. Use in Python

from layerdocs import LayerDocs

ld = LayerDocs()
ld.compile("main.qd", output_dir="dist")

🛠️ Advanced Usage

LayerDocs supports:

  • Math: Full KaTeX integration.
  • Diagrams: Native Mermaid.js support.
  • Themes: Customizable CSS-based layouts.

👨‍💻 Author

Created and maintained by SatyamPote.

📄 License

This project is licensed under the GNU GPLv3 License.

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

layerdocs-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

layerdocs-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file layerdocs-0.2.0.tar.gz.

File metadata

  • Download URL: layerdocs-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for layerdocs-0.2.0.tar.gz
Algorithm Hash digest
SHA256 06f43539edfe4dd34bb103e0cd26c4511a73c04ff440a8d90a7ca4e02cc3e70f
MD5 819773e924ffae578a69122d1f74dc41
BLAKE2b-256 2d59fa47a1f5b7e45c06bb9f41300967e4fb552f9633d3dd0a5fac315bd9f2f9

See more details on using hashes here.

File details

Details for the file layerdocs-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: layerdocs-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for layerdocs-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bceea6ef6dd01045e84c809996fd4e2c629670b893df0c2f8a9d820116af9c5
MD5 dc16ed9ef9ef6d700f1171059d1eb5eb
BLAKE2b-256 4777b8a4f75ecf352f6b3d594cfe5af320bbf1d37e435c40c6d81916e3e3a584

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