...

Text file src/github.com/yuin/goldmark/extension/_test/typographer.txt

Documentation: github.com/yuin/goldmark/extension/_test

     11
     2//- - - - - - - - -//
     3This should 'be' replaced
     4//- - - - - - - - -//
     5<p>This should &lsquo;be&rsquo; replaced</p>
     6//= = = = = = = = = = = = = = = = = = = = = = = =//
     7
     82
     9//- - - - - - - - -//
    10This should "be" replaced
    11//- - - - - - - - -//
    12<p>This should &ldquo;be&rdquo; replaced</p>
    13//= = = = = = = = = = = = = = = = = = = = = = = =//
    14
    153
    16//- - - - - - - - -//
    17**--** *---* a...<< b>>
    18//- - - - - - - - -//
    19<p><strong>&ndash;</strong> <em>&mdash;</em> a&hellip;&laquo; b&raquo;</p>
    20//= = = = = = = = = = = = = = = = = = = = = = = =//
    21
    224
    23//- - - - - - - - -//
    24Some 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
    295: contractions
    30//- - - - - - - - -//
    31Alice's, I'm ,Don't, You'd
    32
    33I've, I'll, You're
    34
    35[Cat][]'s Pajamas
    36
    37Yahoo!'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
    476: "" after digits are an inch
    48//- - - - - - - - -//
    49My height is 5'6"".
    50//- - - - - - - - -//
    51<p>My height is 5'6&quot;&quot;.</p>
    52//= = = = = = = = = = = = = = = = = = = = = = = =//
    53
    547: quote followed by ,.?! and spaces maybe a closer
    55//- - - - - - - - -//
    56reported "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
    618: 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
    689: 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
    7510: 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
    8211: 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
    8912: 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
    9613: Plural possessives
    97//- - - - - - - - -//
    98John'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
   10314: Links within quotation marks and parenthetical phrases
   104//- - - - - - - - -//
   105This 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
   11015: Quotation marks within links
   111//- - - - - - - - -//
   112Apple'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
   11716: 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
   12417: Closing single quotation marks in quotations-within-quotations
   125//- - - - - - - - -//
   126Janet 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
   13118: Opening single quotation marks for abbreviations
   132//- - - - - - - - -//
   133We'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
   13819: 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//= = = = = = = = = = = = = = = = = = = = = = = =//

View as plain text