Skip to content
Ilya Nurullin edited this page Aug 27, 2014 · 4 revisions

Syntax

Simple string creates simple string :)

Input:

First string
Second string

Output:

|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
|  First string |
| Second string |
|_______________|

# - Creates single line header

Input:

#First string
Second string

Output:

|===============|
|  First string |
|===============|
| Second string |
|_______________|

Input:

First string
#Second string
Third string

Output:

|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
|  First string  |
|================|
|  Second string |
|================|
|  Third string  |
|________________|

Input:

First string
#Second string

Output:

|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
|  First string  |
|================|
|  Second string |
|================|

#< - Opens multi-line header

Input:

#<First string
Second string

Output:

|================|
|  First string  |
|  Second string |
|________________|

## - Like simple string in multi-line header

Added only for semantics, you can use simple string.

Input:

#<First string
##Second string
Third string

Output:

|=================|
|   First string  |
|  Second string  |
|   Third string  |
|_________________|

#> - Closes multi-line header

Input:

#<First string
##Second string
#>Third string
Fourth string

Output:

|=================|
|   First string  |
|  Second string  |
|   Third string  |
|=================|
|  Fourth string  |
|_________________|

#- - Creates a delimiter

Input:

First string
#- (will be ignored) Second string
Third string

Output:

|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
|   First string   |
|------------------|
|   Third string   |
|__________________|