The SAS Output Delivery System and reporting techniques

[Off-topic] Forum Markup

Reply
Super Contributor
Posts: 394

[Off-topic] Forum Markup

In the SAS Procedures forum, Peter.C asked for information about the markup accepted by these forums.

I don't have any insider knowledge of the software driving these forums, and I've not been able to track down any official documentation for the markup it supports, but here are a few things I've been able to figure out just by trying other versions of wiki-style markup.

First, for the LT and GT symbols, use the HTML character entities &lt; for < and &gt; for >.

It doesn't come up very often, but you can use &amp; for &.

To make text bold surround it with [b] and [/b]. For example [b]bold[/b]
To make text italic surround it with [i] and [/i]. For example [i]italic[/i]
To underscore text surround it with [u] and [/u]. For example [u]underscore[/u]

Surround code snippets with [pre] and [/pre] This changes to a typewriter font and retains spaces and line breaks. So

[pre]
proc print data=sashelp.class;
   run;
[/pre]

becomes
[pre]
proc print data=sashelp.class;
run;
[/pre]

And finally, if you want to suppress the automatic conversion of the tags (like I've done for these examples), use &#91; for [ and &#93; for ]. Message was edited by: Tim@SAS
PROC Star
Posts: 1,555

Re: [Off-topic] Forum Markup

Quote:



In the SAS Procedures forum, Peter.C asked for information about the markup accepted by these forums.




I find one can do pretty much anything using CSS styles.
The above is done using:


<span style="font-size:9pt; font-family:Comic Sans MS;color:white; background:#777; border:5px groove #ddd;padding:10px">


In the SAS Procedures forum, Peter.C asked for information about the
  <span style="color:red;text-decorationSmiley Surprisedverline underline">
  markup
  </span>
accepted by these forums.
</span>
Regular Contributor
Posts: 196

Re: [Off-topic] Forum Markup

What are the html character entities for single and double quotes?
Super Contributor
Posts: 394

Re: [Off-topic] Forum Markup

Apostrophe: &#39;
Quote: &quot;
Super Contributor
Posts: 394

Add a link to text in your post

[url=http://www.sas.com]SAS Institute Inc.[/url] becomes SAS Institute Inc.
Ask a Question
Discussion stats
  • 4 replies
  • 179 views
  • 0 likes
  • 3 in conversation