-
Notifications
You must be signed in to change notification settings - Fork 7
Markdown content
Many functions accept rich MarkQuarkdown content as their argument.
Usually accepted by body parameters, block content refers to one or more block element that Quarkdown supports. This includes paragraphs, headings, code blocks, quotes, block function calls, etc.
Inner inline element is, of course, processed as well.
In other words, everything you can express with Quarkdown outside a function call, will also work here.
.center
# My centered title
This is a paragraph in a **centered** block!
> This is a _blockquote_.
>
> It spans over multiple sub-paragraphs.
<!-- A nested block function call -->
.row
...
Inline content strictly accepts inline data, ignoring any block syntax. This includes plain text, strong (bold), emphasis (italics), code spans, links, images, inline math, inline function calls, etc.
.box {My _box_ title}
...
See more:
.box
Block syntax has no effect where inline content is required. In the following example, # My box is parsed as plain text, since headings are blocks.
.box {# My box}
...
Inline function calls are accepted:
.box {3 + 2 is .sum {3} {2}}
...
See more:
.sum
In general, everything that can be put inside a paragraph can go into an inline argument as well.
This is the link to .text {[Quarkdown](https://github.com/iamgio/quarkdown)} size:{large}
See more:
.text
- Syntax of a function call
- Declaring functions
- Dynamic typing
- Localization
- Including other Quarkdown files
- Importing external libraries
- Document metadata
- Theme
- Page format
- Page margin content
- Page counter
- Automatic page break
- Numbering
- Table of contents
- Stacks (row, column, grid)
- Align
- Container
- Box
- Collapsible
- Whitespace
- String
- Number
- Markdown content
- Boolean
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic