inline formatting

don’t panic

any formatting character may be backslash-escaped, even…

  • `code ticks`
  • backslash – \

paired marks

text surrounded with…

  • * is italicized
  • ** is bold
  • *** is bold-italics
  • ` is code
  • = is highlighted
  • _ is underlined
    • middle_of_word underlining is off
  • ~ is strikethrough
    • middleofword striking is on

traditional markdown requires two marks on some of these. we handle this

punctuation, (.more.), more, (more,) and (:more yet:) all should italicize cleanly

super- and sub-scripts

  • superscriptwe do with a ^
  • subscriptwe do with a ~

the parenthesis may be omitted on a single-word superscript:

  • exampleword
  • example1
  • example*

the corresponding subscript shortcut does not exist because being able to do middle-of-word strikethrough is more useful

elegant characters

  • dashes: en–dash and em—dash
  • ellipsis: …
  • arrows: →, ←, ↔
  • equivalences: ±, ≈, ≠, ≠
  • fractions: ¼, ½, ¾, ⅓, ⅔, ⅕, ⅖, ⅗, ⅘, ⅙, ⅚, ⅛, ⅜, ⅝, ⅞
  • counts: 0st, 0th, 1st, 2nd, 3rd, 4th, … 9th, 10th, 11th, 12th, 13th, … 21st, 22nd, 23rd, 24th, …
  • capitalist: ™, ©, ®

tilted quotes

  • ‘ticks’ and “quotes” can ‘intermingle”
  • ‘punctuation inside.’ or ‘outside’.
  • ‘styled’ and ‘deep styled’ and ‘backwards styled’

esoterica

here follow some examples on how we match formatting marks:

fully valid markdown

markdownrendered
*yip *_yap_**yip yap
*yip *yap *yarf***yip yap yarf

somewhat questionable markdown

markdownrendered
*yip *yap*yip *yap
***yip yap***yip yap
_yip *yap *yarf_***yip yap yarf*
*****yip*******yip**
====yap======yap==
===~~~yop===~~~=~yop=~
**********
_yip yap_yip yap
yap_ yipyap_ yip
~wyv~wyv
\=\~sm\=\~=~sm=~