The Core Concepts of Jadle
Jadle is a simple yet powerful language for designing beautiful documents. It's built on three fundamental concepts that work together to give you full creative control.
- Keywords: These are the building blocks of your page. Use them to add content like titles, images, or lists.
- Modifiers: These are the style settings for your keywords. Use them to adjust things like color, size, and position.
- Control Characters: These are special symbols that define the structure and layout of your document, creating pages, columns, and grids.
Keywords and Modifiers in Action
Keywords and their modifiers always work together. Modifiers must be indented with two spaces on the line directly below the keyword they apply to. You can stack multiple modifiers to create the exact look you want.
Example:
title: My Awesome Document
align: center
color: blue
image: landscape.jpg
width: 80%
align: center
Structuring with Control Characters
Control characters allow you to organize your content. For example, you can easily create a new page or split your content into columns.
Example:
title: This is Page One
===
title: This is Page Two
In this example, ===
creates a new page.