Skip to main content

Lorem Ipsum: Inline Markup

Inline elements test subset of /lorem

Inline Formatting

Margin note 3. Inline formatting: Italics. Bold. Bold italics. Code. Smallcaps.1 Span. Internal link. External link. External italicized bolded bold italicized then smallcaps’d (with bonus code) link. Superscript1. Subscript2. · Interpunct separation. · Strikethrough.

Inline italics then code then bold then smallcaps in link. (Entire link: code.)

In blockquotes:

Italics. Bold. Bold italics. Code. Smallcaps. Span. Internal link. External link. Superscript1. Subscript2. · Interpunct separation. · Strikethrough. Syzygy.

Italics. Bold. Bold italics. Code. Smallcaps. Span. Internal link. External link. Superscript1. Subscript2. · Interpunct separation. · Strikethrough. Syzygy.

Italics. Bold. Bold italics. Code. Smallcaps. Span. Internal link. External link. Superscript1. Subscript2. · Interpunct separation. · Strikethrough. Syzygy.

Italics. Bold. Bold italics. Code. Smallcaps. Span. Internal link. External link. Superscript1. Subscript2. · Interpunct separation. · Strikethrough. Syzygy.

Italics. Bold. Bold italics. Code. Smallcaps. Span. Internal link. External link. Superscript1. Subscript2. · Interpunct separation. · Strikethrough. Syzygy.

Italics. Bold. Bold italics. Code. Smallcaps. Span. Internal link. External link. Superscript1. Subscript2. · Interpunct separation. · Strikethrough. Syzygy.

Link to Matt Lakeman’s Peep Show review elsewhere (down arrow). Fourth ruler (should be sun again):


Long Lines

  • Hyphenation: pneumonoultramicroscopicsilicovolcanoconiosis pseudopseudohypoparathyroidism floccinaucinihilipilification antidisestablishmentarianism supercalifragilisticexpialidocious incomprehensibilities strengths euouae unimaginatively honorificabilitudinitatibus sesquipedalianism otorhinolaryngological immunoelectrophoretically psychophysicotherapeutics thyroparathyroidectomized pneumoencephalographically radioimmunoelectrophoresis psychoneuroendocrinological hepaticocholangiogastrostomy spectrophotofluorometrically.

  • Slashes: Cwm/fjord/veg/balks/nth/pyx/quiz. Bortz/waqf/glyphs/vex/muck/djinn. PR/flacks/quiz/gym:/TV/DJ/box/when? Zing,/dwarf/jocks/vex/lymph,/Qutb. Zing,/vext/cwm/fly/jabs/Kurd/qoph.

  • URLs/Code: https://gwern.substack.com/ · https://www.patreon.com/gwern · https://fis.fda.gov/sense/app/d10be6bb-494e-4cd2-82e4-0135608ddc13/sheet/45beeb74-30ab-46be-8267-5756582633b4/state/analysis · https://forum.evageeks.org/post/366709/Im-calling-it-right-now/#366709 · https://www.reddit.com/r/TOUHOUMUSIC/search/?q=author%3Agwern&sort=new&restrict_sr=on&t=all · https://forum.evageeks.org/post/366717/Im-calling-it-right-now/#366717 · https://forum.evageeks.org/post/366731/Im-calling-it-right-now/#366731 · https://www.thiswaifudoesnotexist.net/ · https://www.lesswrong.com/tag/inside-outside-view · https://predictionbook.com/users/gwern · https://www.reddit.com/r/Vocaloid/search/?q=author%3Agwern&sort=new&restrict_sr=on&t=all · https://forum.evageeks.org/post/366565/Im-calling-it-right-now/#366565 · https://forum.evageeks.org/post/558013/EOE-OST-Title-Translations/#558013

  • Citations (should not break in the middle but as an unit): Foo 199034ya, Foo & Bar 199133ya, Foo & Quux 199232ya, Foo et al 199331ya, Foo 199430ya, Foo et al 199529ya, Foo 199628ya, Foo et al 199727ya, Foo et al 199826ya, Foo et al 199925ya, Foo et al 200024ya, Foo et al 200123ya, Foo et al 200222ya, Foo et al 200321ya, Foo et al 200420ya, Foo et al 200519ya, Foo et al 200618ya, Foobar 200717ya, Baz et al 200816ya, Foo et al 200915ya, Quux et al 201014ya, Foo 201113ya, Foo & Bar 201212ya, Foo & Quux 201311ya, Foo et al 2014, Foo et al 2015, Foo et al 2016, Foobar2017, Baz et al 2018, Quux et al 2019, Foo & Quux2020, Foo et al 2021, Foo et al 2022, Foo et al 2023.

    (This also tests whether the citations are properly subscripted.)


Smallcaps

Alphabet in smallcaps: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9.

Manual smallcaps (alternating):

  • Yar Pirate Ipsum. Prow Scuttle Parrel Provost. Sail Ho Shrouds Spirits Boom Mizzenmast Yardarm. Pinnace Holystone Mizzenmast Quarter Crow’s Nest Nipperkin Grog Yardarm Hempen Halter Furl. Swab Barque Interloper Chantey Doubloon Starboard Grog Black Jack Gangway Rutters. Trysail Sail Ho Corsair Red Ensign Hulk Smartly Boom Jib Rum Gangway. Ford To City: ‘Drop Dead’.

Subscript+Superscript

  • R32 = 0.6499

  • hmen2 = 0.56, hwomen2 = 0.54

  • Average Number of Articles Read on the Browser NumArticlesitBrowser by Subscribers and Non-subscribers.

Date Subscripts

These should be disabled on mobile.

One reason I’m interested in the date subscript idea is that I already try to be consistent with commas to distinguish years from numbers which happen to fall in the range 1,000–2,100. (What about years whose number form wouldn’t have a comma, and they are ambiguous, like ‘999’ the number vs ‘999 AD’? There aren’t many of those on Gwern.net so they’ll just have to be marked up manually or possibly the regexp match made more complicated to match an AD/BC suffix).

So hypothetically I can mark up years differently from numbers, and ranges as well.

A date ‘1500’ (which is not the number ‘1,500’) can be subscripted 1500~524ya~ while a ‘1,500’ is ignored; and a date-range like ‘the third Swisso-Franco incursion (1549541603421ya) led to…’ can be marked up as both a sub and superscript, say, like 1549--<sup>52</sup>1603<sub>421ya</sub>—to tell you at a glance that this war lasted an epic half century half a millenium ago.

So it’d go:

  • single non-date number: nothing

  • single date number: subscript years-ago

    Ranges and years-ago are rounded like inflation, to keep them workable for large ones, like in archaeology or anthropology or evolution where you might have a 10 million year range 100 million years ago.

  • double non-date number range: superscript range

  • double date number: superscript range, subscript years-ago.


Test-cases for using subscripts to annotate dates with auto-generated time spans to avoid the ‘context collapse’ or ‘eternal present’ problem as temporal intuitions seem to be breaking down.

WII was 1939–1945, or more specifically, 1939-09-01–1945-09-02. The end of WWII was 1945. It is now 2025. It used to be 2009. Whereas in the year 1492, Columbus sailed the ocean blue. RIP Sir Thomas Browne (1605-1077y1682-10342ya).

Hirohito reigned 192663198935ya. The first atomic bombing to surrender speech interval was 1945-08-0610d1945-08-1579ya. Then 1945-08-152m1945-10-0979ya saw the new cabinet. In the 1900s, Neon Genesis Evangelion: 1995-10-046m1996-03-2728ya, or sim1995-105m1996-0328ya.

There were 1,700–2,001 ships available for moe anthropomorphism. 999. 1. 55. 2. 2600. 0. 3-2-1-0. 2000s.

Numbers

Old-style numbers (default for inline use):

  • 0123456789. 0,123,456,789. 1,234.567890. 0 1 2 3 4 5 6 7 8 9.

Numbers in links (lining rather than old-style, to avoid skipping ink):

Dates (YYYY-MM-DD):

  • 2020-09-29. 1970-01-0168y2038-01-19.

Inflation Adjusters

“When I was a kid, I could buy a Snickers bar for $1.36$0.11930! Then in 199034ya, it cost $1.27$0.51990 and today it costs $1.”

“But back then, that was a day’s wages, Grandpa. That’s what inflation is—it’s deeply misleading to talk about nominal costs back then without noting that nominal incomes went up far more. The good old days weren’t so good. Anyway, you should’ve invested in Bitcoin by buying $24.46₿12013 instead which would be worth a lot more today ($13,779.67₿12020).”

Dollars (large subset of actual uses):

  1. 193043197351ya:

    $1.36$0.11930; $26.29$21945; $1,286,300,994.03$100,000,0001946; $1,286.3$1001946; $9,944.56$2,0001970; $2,237.53$4501970; $105,816.68$24,0001973; $119,043.76$27,0001973; $13,227.08$3,0001973

    Span syntax (eg. [$0.10]{inflation=$1930}): $1.36$0.11930; $26.29$21945; $1,286,300,994.03$100,000,0001946; $1,286.3$1001946; $9,944.56$2,0001970; $2,237.53$4501970; $105,816.68$24,0001973; $119,043.76$27,0001973; $13,227.08$3,0001973

  2. 197416199034ya:

    $42,030.77$10,0001974; $63,046.16$15,0001974; $540.8$1501979; $17.6$51980; $343.12$1001983; $120.06$34.991983; $1.27$0.51990

  3. 19936199925ya:

    $2,395,679.55$1,000,0001993; $2,083.2$9001994; $4,630,477.06$2,300,0001998; $100,662.54$50,0001998; $57.36$301999

  4. 20002200222ya:

    $181.57$1002000; $259.14$1502001; $611.56$3542001; $711.76$4122001; $863,790.55$500,0002001; $863.79$5002001; $924.26$5352001; $1,124.66$6512001; $505.63$3002002

  5. 20042200618ya:

    $304.03$1912004; $79,589.82$50,0002004; $76,676.13$50,0002005; $1,480.23$1,0002006; $1,665.26$1,1252006; $1,873.98$1,2662006; $22.2$152006; $2,479.39$1,6752006; $28.12$192006

  6. 2007:

    $1,435.73$1,0002007; $14.36$102007; $158,504.22$110,4002007; $456,919.99$318,2502007; $717,863.3$500,0002007

  7. 20082201014ya:

    $1.4$12008; $210,723.08$150,0002008; $210.72$1502008; $61.81$442008; $702.41$5002008; $899,085.15$640,0002008; $373.02$2652009; $213.93$1502010; $26,384.26$18,5002010

  8. 2011:

    $1.4$12011; $21,483.79$15,3202011; $2,226.91$1,5882011; $27,488.6$19,6022011; $29.55$21.072011; $322,537.37$230,0002011; $42,070.09$30,0002011; $483.81$3452011; $54.69$392011

  9. 2012–201311ya:

    $16.51$122012; $178.9$1302012; $17.89$132012; $5.5$42012; $68.81$502012; $103.21$752012; $135.59$1002013; $311,845.74$230,0002013; $33.9$252013

  10. 2014–2015:

    $3.07$2.32014; $478.22$3582014; $6,112.68$4,5762014; $0.27$0.212015; $0.84$0.652015; $129,690.66$100,0002015; $12,969.07$10,0002015

  11. 2016:

    $172.74$138.122016; $172.59$1382016; $17,486.35$13,9822016; $195.1$1562016; $2.43$1.942016; $250.13$2002016; $25.01$202016; $281.39$2252016; $300.15$2402016

  12. 2017:

    $179.01$1472017; $2.26$1.852017; $23.14$192017; $2.44$22017; $2,706,188.79$2,222,2792017; $297,279.29$244,1212017; $30,443.85$25,0002017; $30.44$252017; $344,624.34$283,0002017

  13. 2018: $0.23; $100,000; $10,000; $101; $15; $16,500; $16.50; $20,000; $23

    As of 2024, with the default setting of not adjusting until the slippage >20%, dates ≥2018 are not adjusted given the low cumulative inflation.

  14. 2019:

    $10; $105; $106; $1; $1.20; $12; $124.45; $125,000; $1.35

  15. 2020:

    $125; $140; $150; $180; $20; $30; $325; $3.49; $408.22

Bitcoin:

  1. 2011:

    $3.03₿0.12011; $315.81₿10.432011; $30.28₿12011; $30.28₿12011; $605.58₿202011; $83.87₿2.772011

  2. 2012–201311ya:

    $25.61₿22012; $200,184.77₿10,0002012; $24.41₿12013; $6.1₿0.252013; $7.81₿0.322013; $38.33₿1.572013

  3. 201322015:

    $2,343.87₿122013; $179,021.43₿2002014; $63,956,787.39₿130,0002015; $158.83₿0.2082015; $55.17₿0.12015; $3.11₿0.0052015

  4. 2020:

    $13,779.67₿12020

    $115,054.31₿22021

    $69,575.07₿32022

    $101,073.01₿3.52023

    $111,773.24₿3.62023

Math (Inline)

E = mc2 as long as E = 1⁄2.

LaTeX inline: If then ? (See also: BibTeX, TeX.)

Run-together equals signs: 1,000=1,000,000; 2=2×1; 1+2=3; 1+2≠40,000,000.

Collapses (Inline)

Block-level collapses are used extensively on Gwern.net, but inline collapsing is also supported: eg. this is an inline collapsed region which you can click on to expand and see the entire sentence, and then click on again to re-collapse.

Inline formatting checks: Man’s first folly, | the fateful fruit’s taste, / From forbidden tree’s | tempting twig it came, / Death and doom dealt, | despair in our world, / Eden erased, | exalted man to mend, / Restoring realms | of radiant bliss, sing, / Sacred muse, | who soared on secret summits, / Oreb, Sinai, | sharing whispered wisdom, / With shepherds, | teaching truths to chosen kin, / Heavens and earth | hewn from harrowing haze (Milton 1667357ya), / Sion’s slopes, | Siloa’s silver stream, / Flowing fast | by God’s grand guiding hand, / Grant thy aid | to my aspiring anthem, / Aiming high | above Aonian heights, / Pursuing paths | untried in prose or rhyme.

Color

red > blue > green > purple > yellow-brown


  1. Footnote 5.↩︎