Skip to content

Instantly share code, notes, and snippets.

@johnnyshankman
Created August 27, 2024 16:47
Show Gist options
  • Save johnnyshankman/9485e674e0b37aa05ce800339013c26f to your computer and use it in GitHub Desktop.
Save johnnyshankman/9485e674e0b37aa05ce800339013c26f to your computer and use it in GitHub Desktop.
data:text/markdown;utf8,%23%20h1%20Heading%208-)%0A%23%23%20h2%20Heading%0A%23%23%23%20h3%20Heading%0A%23%23%23%23%20h4%20Heading%0A%23%23%23%23%23%20h5%20Heading%0A%23%23%23%23%23%23%20h6%20Heading%0A%0A%0A%23%23%20Horizontal%20Rules%0A%0A___%0A%0A---%0A%0A***%0A%0A%0A%23%23%20Typographic%20replacements%0A%0AEnable%20typographer%20option%20to%20see%20result.%0A%0A(c)%20(C)%20(r)%20(R)%20(tm)%20(TM)%20(p)%20(P)%20%2B-%0A%0Atest..%20test...%20test.....%20test%3F.....%20test!....%0A%0A!!!!!!%20%3F%3F%3F%3F%20,,%20%20--%20---%0A%0A%22Smartypants%2C%20double%20quotes%22%20and%20'single%20quotes'%0A%0A%0A%23%23%20Emphasis%0A%0A**This%20is%20bold%20text**%0A%0A__This%20is%20bold%20text__%0A%0A*This%20is%20italic%20text*%0A%0A_This%20is%20italic%20text_%0A%0A~~Strikethrough~~%0A%0A%0A%23%23%20Blockquotes%0A%0A%0A%3E%20Blockquotes%20can%20also%20be%20nested...%0A%3E%3E%20...by%20using%20additional%20greater-than%20signs%20right%20next%20to%20each%20other...%0A%3E%20%3E%20%3E%20...or%20with%20spaces%20between%20arrows.%0A%0A%0A%23%23%20Lists%0A%0AUnordered%0A%0A%2B%20Create%20a%20list%20by%20starting%20a%20line%20with%20%60%2B%60%2C%20%60-%60%2C%20or%20%60*%60%0A%2B%20Sub-lists%20are%20made%20by%20indenting%202%20spaces%3A%0A%20%20-%20Marker%20character%20change%20forces%20new%20list%20start%3A%0A%20%20%20%20*%20Ac%20tristique%20libero%20volutpat%20at%0A%20%20%20%20%2B%20Facilisis%20in%20pretium%20nisl%20aliquet%0A%20%20%20%20-%20Nulla%20volutpat%20aliquam%20velit%0A%2B%20Very%20easy!%0A%0AOrdered%0A%0A1.%20Lorem%20ipsum%20dolor%20sit%20amet%0A2.%20Consectetur%20adipiscing%20elit%0A3.%20Integer%20molestie%20lorem%20at%20massa%0A%0A%0A1.%20You%20can%20use%20sequential%20numbers...%0A1.%20...or%20keep%20all%20the%20numbers%20as%20%601.%60%0A%0AStart%20numbering%20with%20offset%3A%0A%0A57.%20foo%0A1.%20bar%0A%0A%0A%23%23%20Code%0A%0AInline%20%60code%60%0A%0AIndented%20code%0A%0A%20%20%20%20%2F%2F%20Some%20comments%0A%20%20%20%20line%201%20of%20code%0A%20%20%20%20line%202%20of%20code%0A%20%20%20%20line%203%20of%20code%0A%0A%0ABlock%20code%20%22fences%22%0A%0A%60%60%60%0ASample%20text%20here...%0A%60%60%60%0A%0ASyntax%20highlighting%0A%0A%60%60%60%20js%0Avar%20foo%20%3D%20function%20(bar)%20%7B%0A%20%20return%20bar%2B%2B%3B%0A%7D%3B%0A%0Aconsole.log(foo(5))%3B%0A%60%60%60%0A%0A%23%23%20Tables%0A%0A%7C%20Option%20%7C%20Description%20%7C%0A%7C%20------%20%7C%20-----------%20%7C%0A%7C%20data%20%20%20%7C%20path%20to%20data%20files%20to%20supply%20the%20data%20that%20will%20be%20passed%20into%20templates.%20%7C%0A%7C%20engine%20%7C%20engine%20to%20be%20used%20for%20processing%20templates.%20Handlebars%20is%20the%20default.%20%7C%0A%7C%20ext%20%20%20%20%20%7C%20extension%20to%20be%20used%20for%20dest%20files.%20%7C%0A%0ARight%20aligned%20columns%0A%0A%7C%20Option%20%7C%20Description%20%7C%0A%7C%20------%3A%7C%20-----------%3A%7C%0A%7C%20data%20%20%20%7C%20path%20to%20data%20files%20to%20supply%20the%20data%20that%20will%20be%20passed%20into%20templates.%20%7C%0A%7C%20engine%20%7C%20engine%20to%20be%20used%20for%20processing%20templates.%20Handlebars%20is%20the%20default.%20%7C%0A%7C%20ext%20%20%20%20%20%7C%20extension%20to%20be%20used%20for%20dest%20files.%20%7C%0A%0A%0A%23%23%20Links%0A%0A%5Blink%20text%5D(http%3A%2F%2Fdev.nodeca.com)%0A%0A%5Blink%20with%20title%5D(http%3A%2F%2Fnodeca.github.io%2Fpica%2Fdemo%2F%20%22title%20text!%22)%0A%0AAutoconverted%20link%20https%3A%2F%2Fgithub.com%2Fnodeca%2Fpica%20(enable%20linkify%20to%20see)%0A%0A%0A%23%23%20Images%0A%0A!%5BMinion%5D(https%3A%2F%2Foctodex.github.com%2Fimages%2Fminion.png)%0A!%5BStormtroopocat%5D(https%3A%2F%2Foctodex.github.com%2Fimages%2Fstormtroopocat.jpg%20%22The%20Stormtroopocat%22)%0A%0ALike%20links%2C%20Images%20also%20have%20a%20footnote%20style%20syntax%0A%0A!%5BAlt%20text%5D%5Bid%5D%0A%0AWith%20a%20reference%20later%20in%20the%20document%20defining%20the%20URL%20location%3A%0A%0A%5Bid%5D%3A%20https%3A%2F%2Foctodex.github.com%2Fimages%2Fdojocat.jpg%20%20%22The%20Dojocat%22%0A
@johnnyshankman
Copy link
Author

An example markdown document stored as a text/markdown Data URL.

Has the basic stuff you usually see in a markdown doc like headings, typography, tables. images, links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment