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): Foo1990, Foo & Bar1991, Foo & Quux1992, Foo et al 1993, Foo1994, Foo et al 1995, Foo1996, Foo et al 1997, Foo et al 1998, Foo et al 1999, Foo et al 2000, Foo et al 2001, Foo et al 2002, Foo et al 2003, Foo et al 2004, Foo et al 2005, Foo et al 2006, Foobar2007, Baz et al 2008, Foo et al 2009, Quux et al 2010, Foo2011, Foo & Bar2012, Foo & Quux2013, 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.)


Accents

Serif test cases (default):

Dépôt Légal : Q4-1989-01969. ISBN (éd. orig.).

Précieux éclairage sur l’un de ces organismes de recherche restés jusqu’ici méconnus, M. Trente a rendu à la communauté savante un service insigne, mettant en lumière. Espérée de la postérité, des érudits œuvrent sans relâche en à un autre de ces hauts lieux. Université T. U. O. T. (retraité à Chavignolles (Bouvard et Pécuchet))

Sans-serif test cases (Source Sans 3):

Dépôt Légal : Q4-1989-01969. ISBN (éd. orig.).

Précieux éclairage sur l’un de ces organismes de recherche restés jusqu’ici méconnus, M. Trente a rendu à la communauté savante un service insigne, mettant en lumière. Espérée de la postérité, des érudits œuvrent sans relâche en à un autre de ces hauts lieux. Université T. U. O. T. (retraité à Chavignolles (Bouvard et Pécuchet))

Smallcaps

Alphabet in smallcaps:

  • capitals: 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

  • lowercase: 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

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 Swiss-Franco incursion (1549541603422ya) 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 19396194580ya, or more specifically, 1939-09-016y1945-09-0280ya.

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-10343ya).

Hirohito reigned 192663198936ya. The first atomic bombing to surrender speech interval was 1945-08-06–1945-08-1580ya. Then 1945-08-15–1945-10-0980ya saw the new cabinet. In the 1900s, Neon Genesis Evangelion: 1995-10-04–1996-03-2729ya, or sim1995-10–1996-0329ya.

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.

Tabular numbers (override):

  • 0123456789. 0,123,456,789. 1,234.567890. 0 1 2 3 4 5 6 7 8 9. Q4-1989-01969. ISBN (éd. orig.) 0-571-10012-Z

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.5$0.11930! Then in 199035ya, it cost $1.4$0.51990 and today it costs $1.25$12020.”

“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 $29.76₿12013 instead which would be worth a lot more today ($16,826.05₿12020).”

Dollars (large subset of actual uses):

  1. Prehistory:

    1. 193043197352ya:

      $1.5$0.11930; $29$21945; $1,419,015,294.63$100,000,0001946; $1,419.02$1001946; $10,970.59$2,0001970; $2,468.38$4501970; $116,734.33$24,0001973; $131,326.12$27,0001973; $14,591.79$3,0001973

      Span syntax (eg. [$0.10]{inflation=$1930}): $1.5$0.11930; $29$21945; $1,419,015,294.63$100,000,0001946; $1,419.02$1001946; $10,970.59$2,0001970; $2,468.38$4501970; $116,734.33$24,0001973; $131,326.12$27,0001973; $14,591.79$3,0001973

    2. 197416199035ya:

      $46,367.31$10,0001974; $69,550.96$15,0001974; $596.6$1501979; $19.42$51980; $378.52$1001983; $132.45$34.991983; $1.4$0.51990

    3. 19936199926ya:

      $2,642,854.16$1,000,0001993; $2,298.13$9001994; $5,108,227.23$2,300,0001998; $111,048.42$50,0001998; $63.28$301999

  2. Millennium:

    1. 2000–200223ya:

      $200.3$1002000; $285.87$1502001; $674.66$3542001; $785.2$4122001; $952,912.27$500,0002001; $952.91$5002001; $1,019.62$5352001; $1,240.69$6512001; $557.8$3002002

    2. 2004–200619ya:

      $335.4$1912004; $87,801.51$50,0002004; $84,587.2$50,0002005; $1,632.96$1,0002006; $1,837.08$1,1252006; $2,067.32$1,2662006; $24.49$152006; $2,735.2$1,6752006; $31.03$192006

    3. 2007:

      $1,583.86$1,0002007; $15.84$102007; $174,857.91$110,4002007; $504,062.78$318,2502007; $791,928.95$500,0002007

    4. 2008–201015ya:

      $1.55$12008; $232,464.47$150,0002008; $232.46$1502008; $68.19$442008; $774.88$5002008; $991,848.39$640,0002008; $411.51$2652009; $236$1502010; $29,106.46$18,5002010

  3. 2010s:

    1. 2011:

      $1.55$12011; $23,700.39$15,3202011; $2,456.67$1,5882011; $30,324.74$19,6022011; $32.6$21.072011; $355,815.21$230,0002011; $46,410.68$30,0002011; $533.72$3452011; $60.33$392011

    2. 2012–201312ya:

      $18.22$122012; $197.36$1302012; $19.74$132012; $6.07$42012; $75.91$502012; $113.86$752012; $149.57$1002013; $344,020.47$230,0002013; $37.39$252013

    3. 2014–2015:

      $3.39$2.32014; $527.56$3582014; $6,743.36$4,5762014; $0.3$0.212015; $0.93$0.652015; $143,071.52$100,0002015; $14,307.15$10,0002015

    4. 2016:

      $190.56$138.122016; $190.39$1382016; $19,290.51$13,9822016; $215.23$1562016; $2.68$1.942016; $275.93$2002016; $27.59$202016; $310.43$2252016; $331.12$2402016

    5. 2017:

      $197.48$1472017; $2.49$1.852017; $25.52$192017; $2.69$22017; $2,985,400.23$2,222,2792017; $327,951.12$244,1212017; $33,584.89$25,0002017; $33.58$252017; $380,181.01$283,0002017

    6. 2018: $0.3$0.232018; $130,935.26$100,0002018; $13,093.53$10,0002018; $132.24$1012018; $19.64$152018; $21,604.32$16,5002018; $21.6$16.52018; $26,187.05$20,0002018; $30.12$232018

    7. 2019:

      $12.71$102019; $133.48$1052019; $134.75$1062019; $1.27$12019; $1.53$1.22019; $15.25$122019; $158.2$124.452019; $158,902.02$125,0002019; $1.72$1.352019

  4. 2020s:

    1. 2020:

      $156.66$1252020; $175.46$1402020; $187.99$1502020; $225.59$1802020; $25.07$202020; $37.6$302020; $407.32$3252020; $4.37$3.492020; $511.62$408.222020

    2. 2021:

      $156.21$1262021; $174.81$1412021; $187.21$1512021; $224.4$1812021; $26.04$212021; $38.43$312021; $404.17$3262021; $4.34$3.52021; $506.12$408.232021

    3. 2022:

      $127; $142; $152; $182; $22; $32; $327; $3.51; $408.24

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

    4. 2023:

      $128; $143; $153; $183; $23; $33; $328; $3.52; $408.25

    5. 2024:

      $129; $144; $154; $184; $24; $34; $329; $3.53; $408.26

    6. 2025:

      $130; $145; $155; $185; $25; $35; $30; $3.54; $408.27

    7. 2026:

      $131; $146; $156; $186; $26; $36; $31; $3.55; $408.28

    8. 2027:

      $133; $148; $158; $188; $28; $38; $33; $3.57; $408.30

    9. 2028:

      $134; $149; $159; $189; $29; $39; $34; $3.58; $408.31

    10. 2029:

      $135; $150; $160; $190; $30; $40; $35; $3.59; $408.32

  5. 2030s:

    1. 2030:

      $130; $140; $150; $180; $20; $30; $40; $3.50; $408.40

Bitcoin:

  1. 2011:

    $3.68₿0.12011; $384.34₿10.432011; $36.85₿12011; $36.85₿12011; $736.99₿202011; $102.07₿2.772011

  2. 2012–201312ya:

    $31.16₿22012; $243,623.94₿10,0002012; $29.71₿12013; $7.43₿0.252013; $9.51₿0.322013; $46.65₿1.572013

  3. 2013–2015:

    $2,852.48₿122013; $217,868.26₿2002014; $77,835,117.08₿130,0002015; $193.3₿0.2082015; $67.14₿0.12015; $3.78₿0.0052015

  4. 2020:

    $16,826.05₿12020

    $141,189.48₿22021

    $85,588.72₿32022

    $113,052.09₿3.52023

    $125,020.5₿3.62023

Math (Inline)

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

Adjusted fractions (FRACTION SLASH): 123⁄456. 1234⁄5678. 1⁄2345. 1234⁄5.

Not-adjusted fractions (DIVISION SLASH): ab. 1⧸log(n). log(n)⧸𝜋. 1,234⧸2. 1⧸234,567.

LaTeX inline: If then ? Regular version: If E then mc2? (See also logotypes: 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 (Milton1667), / 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.

Abstract at the beginning. Foo bar Baz.

Foo bar Baz. Abstract in the middle. Foo bar baz.

Foo bar Baz. Abstract at the end.

Small collapse: This is a ‘small’ span collapse. You should not be able to read anything here. It should just be a button to uncollapse.

Color

red > blue > green > purple > yellow-brown


  1. Footnote 5.↩︎