Library of Formatting Examples:Italics/00A: Difference between revisions
Jump to navigation
Jump to search
(Mucking around trying to get syntax highlighting working) |
|||
| Line 1: | Line 1: | ||
{{LOFE Navbar}} | {{LOFE Navbar}} | ||
Syntax highlighting test: | |||
<syntaxhighlight lang="python" line> | |||
def quick_sort(arr): | |||
less = [] | |||
pivot_list = [] | |||
more = [] | |||
if len(arr) <= 1: | |||
return arr | |||
else: | |||
pass | |||
</syntaxhighlight> | |||
=== Proofing Image === | |||
[[File:101-00A.png]] | |||
=== Correctly Proofed Text === | |||
<syntaxhighlight lang=HTML line>well-informed persons who adhere to correct | |||
speech. | |||
<p>A <i>shaft</i> is a truly vertical mine passage</p></syntaxhighlight> | |||
= Simple markup: an italicized word mid-sentence.= | = Simple markup: an italicized word mid-sentence.= | ||
Revision as of 00:15, 14 August 2025
| previous | Main | next |
Syntax highlighting test:
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr
else:
pass
Proofing Image
Correctly Proofed Text
well-informed persons who adhere to correct
speech.
<p>A <i>shaft</i> is a truly vertical mine passage</p>Simple markup: an italicized word mid-sentence.
| Proofing Image |
|---|
|
| Correctly Proofed Text |
well-informed persons who adhere to correct speech. A <i>shaft</i> is a truly vertical mine passage |
Introduction
We begin with italics because it is the most common kind of formatting we find in most projects. The reasons why we format italics as we do also apply to the other in-line formatting markups that we use.
Punctuation: inside or outside?
Many formatting decisions involve whether to place punctuation (especially periods) inside or outside the in-line markups, so most of these commented examples will focus on the proper placement of punctuation.
