# Extensions
This section describes the different extensions supported:
## Definition lists
A custom container is similar to a fenced code block, but it is using the character `:` to declare a block (with at least 3 characters), and instead of generating a `
...
` it will generate a `...
` block.
```````````````````````````````` example
Term 1
: This is a definition item
With a paragraph
> This is a block quote
- This is a list
- with an item2
```java
Test
```
And a last line
: This ia another definition item
Term2
Term3 *with some inline*
: This is another definition for term2
.
- Term 1
This is a definition item
With a paragraph
This is a block quote
- This is a list
- with an item2
Test
And a last line
- This ia another definition item
- Term2
- Term3 with some inline
- This is another definition for term2
````````````````````````````````
A definition term can be followed at most by one blank line. Lazy continuations are supported for definitions:
```````````````````````````````` example
Term 1
: Definition
with lazy continuation.
Second paragraph of the definition.
.
- Term 1
Definition
with lazy continuation.
Second paragraph of the definition.
````````````````````````````````
The `:` or `~` must be followed by at least one space or tab. A single space is enough:
```````````````````````````````` example
First Term
: This is the definition of the first term.
Second Term
: This is one definition of the second term.
~ This is another definition of the second term.
.
- First Term
- This is the definition of the first term.
- Second Term
- This is one definition of the second term.
- This is another definition of the second term.
````````````````````````````````
Without a space or tab after the `:`, the line is not a definition:
```````````````````````````````` example
Term 1
:Invalid without a space after the colon
.
Term 1
:Invalid without a space after the colon
````````````````````````````````
The `:` can be indented up to 3 spaces:
```````````````````````````````` example
Term 1
: Valid even if `:` starts at most 3 spaces
.
- Term 1
- Valid even if
: starts at most 3 spaces
````````````````````````````````
But more than 3 spaces before `:` will trigger an indented code block:
```````````````````````````````` example
Term 1
: Not valid
.
Term 1
: Not valid
````````````````````````````````
Definition lists can be nested inside list items
```````````````````````````````` example
1. First
2. Second
Term 1
: Definition
Term 2
: Second Definition
.
First
Second
- Term 1
- Definition
- Term 2
- Second Definition
````````````````````````````````