| PM Markup: | Result: | |
|---|---|---|
| paragraphs / line breaks |
<p>first paragraph</p> <p>second paragraph</p> |
first paragraph second paragraph |
| link to nodes by name |
Have you tried [Super Search]? | Have you tried Super Search? |
Thanks for your help, [tye] | Thanks for your help, tye | |
Thanks for nothing, [tye|wiseguy] | Thanks for nothing, wiseguy | |
| link to nodes by ID |
Please consult [id://3989] | Please consult Super Search |
| other kinds of links |
Check out [pad://NodeReaper] | Check out NodeReaper's scratchpad |
Did you try [http://google.com|this]? | Did you try this? | |
Did you check [doc://perlfaq]? | Did you check perlfaq? | |
| including code in text |
The result is in <c>$array[0]</c> | The result is in $array[0] |
The code should read:
<c>
use strict;
use warnings;
my @array = ("Hello world\n");
if (@ARGV) {
print $array[0];
}
</c>
|
The code should read:
| |
| text/font formatting |
This will be <b>bold</b> | This will be bold |
This will be <i>italic</i> | This will be italic | |
This will be <tt>fixed width</tt> | This will be fixed width | |
| quoting / indenting |
A wise monk once said: <blockquote> "Indenting is good" </blockquote> .. and I agree |
A wise monk once said:
"Indenting is good".. and I agree |
| lists |
My favorite flavors are: <ul> <li>vanilla</li> <li>chocolate</li> </ul> |
My favorite flavors are:
|
How to make toast: <ol> <li>insert bread</li> <li>press button</li> </ol> |
How to make toast:
|
I adapted the tags you decided to include in your introduction.
This node is intended as a 60 second introduction to markup used here.If so, then it is much too long IMHO.
Update: missing </pre> tags inserted, according to GrandFather's suggestion.
Update 2: demonstrated whitespace preservation of <c> tags. Thanks to kyle for that suggestion.
blokhead
In reply to Re: RFC: Monastery Markup Introduction
by blokhead
in thread RFC: Monastery Markup Introduction
by ww
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |