Debian Codegraph @

extension/_test/typographer.txt

raw
1 1
2 //- - - - - - - - -//
3 This should 'be' replaced
4 //- - - - - - - - -//
5 <p>This should &lsquo;be&rsquo; replaced</p>
6 //= = = = = = = = = = = = = = = = = = = = = = = =//
7
8 2
9 //- - - - - - - - -//
10 This should "be" replaced
11 //- - - - - - - - -//
12 <p>This should &ldquo;be&rdquo; replaced</p>
13 //= = = = = = = = = = = = = = = = = = = = = = = =//
14
15 3
16 //- - - - - - - - -//
17 **--** *---* a...<< b>>
18 //- - - - - - - - -//
19 <p><strong>&ndash;</strong> <em>&mdash;</em> a&hellip;&laquo; b&raquo;</p>
20 //= = = = = = = = = = = = = = = = = = = = = = = =//
21
22 4
23 //- - - - - - - - -//
24 Some say '90s, others say 90's, but I can't say which is best.
25 //- - - - - - - - -//
26 <p>Some say &rsquo;90s, others say 90&rsquo;s, but I can&rsquo;t say which is best.</p>
27 //= = = = = = = = = = = = = = = = = = = = = = = =//
28
29 5: contractions
30 //- - - - - - - - -//
31 Alice's, I'm ,Don't, You'd
32
33 I've, I'll, You're
34
35 [Cat][]'s Pajamas
36
37 Yahoo!'s
38
39 [Cat]: http://example.com
40 //- - - - - - - - -//
41 <p>Alice&rsquo;s, I&rsquo;m ,Don&rsquo;t, You&rsquo;d</p>
42 <p>I&rsquo;ve, I&rsquo;ll, You&rsquo;re</p>
43 <p><a href="http://example.com">Cat</a>&rsquo;s Pajamas</p>
44 <p>Yahoo!&rsquo;s</p>
45 //= = = = = = = = = = = = = = = = = = = = = = = =//
46
47 6: "" after digits are an inch
48 //- - - - - - - - -//
49 My height is 5'6"".
50 //- - - - - - - - -//
51 <p>My height is 5'6&quot;&quot;.</p>
52 //= = = = = = = = = = = = = = = = = = = = = = = =//
53
54 7: quote followed by ,.?! and spaces maybe a closer
55 //- - - - - - - - -//
56 reported "issue 1 (IE-only)", "issue 2", 'issue3 (FF-only)', 'issue4'
57 //- - - - - - - - -//
58 <p>reported &ldquo;issue 1 (IE-only)&rdquo;, &ldquo;issue 2&rdquo;, &lsquo;issue3 (FF-only)&rsquo;, &lsquo;issue4&rsquo;</p>
59 //= = = = = = = = = = = = = = = = = = = = = = = =//
60
61 8: handle inches in qoutes
62 //- - - - - - - - -//
63 "Monitor 21"" and "Monitor""
64 //- - - - - - - - -//
65 <p>&ldquo;Monitor 21&quot;&rdquo; and &ldquo;Monitor&rdquo;&quot;</p>
66 //= = = = = = = = = = = = = = = = = = = = = = = =//
67
68 9: Closing quotation marks within italics
69 //- - - - - - - - -//
70 *"At first, things were not clear."*
71 //- - - - - - - - -//
72 <p><em>&ldquo;At first, things were not clear.&rdquo;</em></p>
73 //= = = = = = = = = = = = = = = = = = = = = = = =//
74
75 10: Closing quotation marks within boldfacing
76 //- - - - - - - - -//
77 **"At first, things were not clear."**
78 //- - - - - - - - -//
79 <p><strong>&ldquo;At first, things were not clear.&rdquo;</strong></p>
80 //= = = = = = = = = = = = = = = = = = = = = = = =//
81
82 11: Closing quotation marks within boldfacing and italics
83 //- - - - - - - - -//
84 ***"At first, things were not clear."***
85 //- - - - - - - - -//
86 <p><em><strong>&ldquo;At first, things were not clear.&rdquo;</strong></em></p>
87 //= = = = = = = = = = = = = = = = = = = = = = = =//
88
89 12: Closing quotation marks within boldfacing and italics
90 //- - - - - - - - -//
91 ***"At first, things were not clear."***
92 //- - - - - - - - -//
93 <p><em><strong>&ldquo;At first, things were not clear.&rdquo;</strong></em></p>
94 //= = = = = = = = = = = = = = = = = = = = = = = =//
95
96 13: Plural possessives
97 //- - - - - - - - -//
98 John's dog is named Sam. The Smiths' dog is named Rover.
99 //- - - - - - - - -//
100 <p>John&rsquo;s dog is named Sam. The Smiths&rsquo; dog is named Rover.</p>
101 //= = = = = = = = = = = = = = = = = = = = = = = =//
102
103 14: Links within quotation marks and parenthetical phrases
104 //- - - - - - - - -//
105 This is not difficult (see "[Introduction to Hugo Templating](https://gohugo.io/templates/introduction/)").
106 //- - - - - - - - -//
107 <p>This is not difficult (see &ldquo;<a href="https://gohugo.io/templates/introduction/">Introduction to Hugo Templating</a>&rdquo;).</p>
108 //= = = = = = = = = = = = = = = = = = = = = = = =//
109
110 15: Quotation marks within links
111 //- - - - - - - - -//
112 Apple's early Cairo font gave us ["moof" and the "dogcow."](https://www.macworld.com/article/2926184/we-miss-you-clarus-the-dogcow.html)
113 //- - - - - - - - -//
114 <p>Apple&rsquo;s early Cairo font gave us <a href="https://www.macworld.com/article/2926184/we-miss-you-clarus-the-dogcow.html">&ldquo;moof&rdquo; and the &ldquo;dogcow.&rdquo;</a></p>
115 //= = = = = = = = = = = = = = = = = = = = = = = =//
116
117 16: Single closing quotation marks with slang/informalities
118 //- - - - - - - - -//
119 "I'm not doin' that," Bill said with emphasis.
120 //- - - - - - - - -//
121 <p>&ldquo;I&rsquo;m not doin&rsquo; that,&rdquo; Bill said with emphasis.</p>
122 //= = = = = = = = = = = = = = = = = = = = = = = =//
123
124 17: Closing single quotation marks in quotations-within-quotations
125 //- - - - - - - - -//
126 Janet said, "When everything is 'breaking news,' nothing is 'breaking news.'"
127 //- - - - - - - - -//
128 <p>Janet said, &ldquo;When everything is &lsquo;breaking news,&rsquo; nothing is &lsquo;breaking news.&rsquo;&rdquo;</p>
129 //= = = = = = = = = = = = = = = = = = = = = = = =//
130
131 18: Opening single quotation marks for abbreviations
132 //- - - - - - - - -//
133 We're talking about the internet --- 'net for short. Let's rock 'n roll!
134 //- - - - - - - - -//
135 <p>We&rsquo;re talking about the internet &mdash; &rsquo;net for short. Let&rsquo;s rock &rsquo;n roll!</p>
136 //= = = = = = = = = = = = = = = = = = = = = = = =//
137
138 19: Quotes in alt text
139 //- - - - - - - - -//
140 ![Nice & day, **isn't** it?](https://example.com/image.jpg)
141 //- - - - - - - - -//
142 <p><img src="https://example.com/image.jpg" alt="Nice &amp; day, isn&rsquo;t it?"></p>
143 //= = = = = = = = = = = = = = = = = = = = = = = =//