Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Formatting commands?

by rir (Vicar)
on Sep 18, 2002 at 23:56 UTC ( [id://199042]=monkdiscuss: print w/replies, xml ) Need Help??

I would like to know how to mark up the notes I write here.
Some HTML references on the internet give commands (tags?) that don't seem to work here.

How do you strikeout text?

How do you underline text? Just kidding.

How do you insert literal [ brackets in ordinary text?

How do you indent a set of lines, or one line?

How do you insert em or en spaces in a line?

Thank you.

Replies are listed 'Best First'.
Re: Formatting commands?
by rinceWind (Monsignor) on Sep 19, 2002 at 00:17 UTC
    besides the need help? link that dws recommended I suggest you check out the Perl monks site FAQ and site how to guide. The answers to your questions are there.

    Just in case the information is missing or hard to get to.

    How do you strikeout text?
    Use the tag <strike>
    How do you underline text? Just kidding.
    Use the tag <u>
    How do you insert literal [ brackets in ordinary text?
    Use &#91; and &#93;
    How do you indent a set of lines, or one line?
    I use blockquote. Though there was some recent dialogue on the CB about this - you should be safe if what you are indenting is text, not code. To indent code, use leading spaces in the code.
    How do you insert em or en spaces in a line?
    &nbsp; works
      I use blockquote. Though there was some recent dialogue on the CB about this - you should be safe if what you are indenting is text, not code. To indent code, use leading spaces in the code.

      I missed that discussion. Why is doing it with code a bad thing? (I wonder how many of my nodes violate that.)

      -sauoq
      "My two cents aren't worth a dime.";
      
Re: Formatting commands?
by dws (Chancellor) on Sep 19, 2002 at 00:01 UTC
    I would like to know how to mark up the notes I write here.

    The Need Help?? link in the upper right of the page is quite useful. Click it and scroll down. A few of your questions will be answered there. The rest can be answered by trying things and seeing how they work. Preview mode is great for that.

      Thanks, I looked right at the < > [ and ] escapes, and they
      didn't register. I guess I was struggling with too many other little issues.

      My other questions still stand.  PerlMonks is my introduction to
      generating HTML.

Re: Formatting commands?
by Ovid (Cardinal) on Sep 19, 2002 at 06:13 UTC

    I won't answer your question as others have already done a fine job. I just want to interject a comment about good HTML style.

    You should see this link about underlines. Now, for my CSS (you can supply your own CSS for Perlmonks), it's clear to me that this is not a hyperlink (once I hover over the line, that is). However, many browsers or stylesheets will render underlined text almost the same as a hyperlink. Thus, many people will see my underline above and assume that it's actually a link and not just an underline. It can be confusing to the end user and thus should be avoided.

    Cheers,
    Ovid

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://199042]
Approved by Zaxo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-20 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found