Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
When I saw Need examples for PerlMonks HTML Tags, I pictured something much more visual and "cheat sheet"-like:

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

(more info)

Check out [pad://NodeReaper]
Check out NodeReaper's scratchpad
Did you try [|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:
use strict;
use warnings;

my @array = ("Hello world\n");
if (@ARGV) {
    print $array[0];
The code should read:
use strict; use warnings; my @array = ("Hello world\n"); if (@ARGV) { print $array[0]; }
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:
"Indenting is good"
.. and I agree
A wise monk once said:
"Indenting is good"
.. and I agree
My favorite flavors are:
My favorite flavors are:
  • vanilla
  • chocolate
How to make toast:
<li>insert bread</li>
<li>press button</li>
How to make toast:
  1. insert bread
  2. press button

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.


In reply to Re: RFC: Monastery Markup Introduction by blokhead
in thread RFC: Monastery Markup Introduction by ww

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (3)
    As of 2018-04-24 23:20 GMT
    Find Nodes?
      Voting Booth?