Difference between revisions of "Emphasis - PGML"

From WeBWorK_wiki
Jump to navigation Jump to search
(Initial version)
 
m (Fix category link)
 
Line 37: Line 37:
   
 
[[Category:PGML]]
 
[[Category:PGML]]
[[Category::PGML Syntax]]
+
[[Category:PGML Syntax]]

Latest revision as of 12:59, 9 May 2015

Bold Text

To obtain bold text, enclose the text in asterisks.

 *This text is bold*.

Note that you can put a portion of a word in bold

 This is em*bold*ened.

Note: some flavors of Markdown use a single asterisk to produce italics, and double asterisks for bold. PGML will accept any number of stars for bold. See below for italics

Italic Text

To obtain italic text, enclose the text in underscores.

 _This text is italic_.

Note, however, that you can not italicize part of a word, as you can with bold. So

 This is not it_alicized_.

Note: some flavors of Markdown use a single asterisk to produce italics, and double asterisks for bold. PGML uses a single asterisk for bold, and underscores for italics.

Bold Italic Text

To obtain bold-italic text, combine the two methods listed above:

 *_This is bold-italic text_*
 
 or
 
 _*This is also bold-italic*_

Note: Some flavors of Markdown use triple-asterisks to denote bold-italic, but PGML is not one of them.