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.1.tar.gz (3.5 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.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: layerdocs-0.2.1.tar.gz
  • Upload date:
  • Size: 3.5 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.1.tar.gz
Algorithm Hash digest
SHA256 ef1e5a96e037931a65c2840d6845b4dbf00cd493d081d2944aab343ac7315454
MD5 04fce2d99f937f7f9e4034d14b99af77
BLAKE2b-256 ba929cd8c6f5b2bd3e6b86b026e3c94ff9983446b3e9b56ab1f26ba72a5a76c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: layerdocs-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f00865122e8407d91cc4597639125e4dc58ef0006c6e914444bb541d8ef6ce59
MD5 22a00ffb78f3a62c44c3875fa8ffa7aa
BLAKE2b-256 2d238f9f600db08f53f0cf14c6a4c0479b0f82d5beece3409e620ecc1ff773be

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