Markdown in HTML Does *not* work **very** well. Use HTML tags.ĭefinition list Is something people use sometimes. You can also use raw HTML in your Markdown, and it'll mostly work pretty well.
Oh, you can put Markdown into a blockquote. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. This is a very long line that will still be quoted properly when it wraps.
Oh, you can *put* **Markdown** into a blockquote.īlockquotes are very handy in email to emulate reply text. > This is a very long line that will still be quoted properly when it wraps. Markdownīlockquotes > Blockquotes are very handy in email to emulate reply text. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.Ĭolons can be used to align columns. They are an easy way of adding tables to your email - a task that would otherwise require copy-pasting from another application. Tables aren't part of the core Markdown spec, but they are part of GFM and Markdown Here supports them. S = "Python syntax highlighting " print s No language indicated, so no syntax highlighting in Markdown Here (varies on Github). No language indicated, so no syntax highlighting. Var s = "JavaScript syntax highlighting"
I recommend only using the fenced code blocks - they're easier and only they support syntax highlighting. Inline `code` has `back-ticks around` it.īlocks of code are either fenced by lines with three back-ticks ```, or are indented with four spaces.
Markdown Here supports highlighting for dozens of languages (and not-really-languages, like diffs and HTTP headers) to see the complete list, and how to write the language names, see the highlight.js demo page. Which languages are supported and how those language names should be written will vary from renderer to renderer. However, many renderers - like Github's and Markdown Here - support syntax highlighting. Here's our logo (hover to see the title text):Ĭode blocks are part of the Markdown spec, but syntax highlighting isn't. Images Here's our logo (hover to see the title text): Or leave it empty and use the link text itself You can use numbers for reference-style link definitions I'm a relative reference to a repository file Some text to show that the reference links can follow later. To reboot your computer, press ctrl+ alt+ del. Preformatted text in a list item: Skip a line and indent eight spaces. So it's a good idea to wrap your nested paragraphs manually, as we did with the first two. This paragraph is still part of the list item, but it looks messy to humans. That to the entire list so that all items line up. We indented the first line an extra space to align You can get away with three, but it can get It's best to indent the paragraphs four spaces (This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.) Note that this line is separate, but within the same paragraph.
To have a line break without a paragraph, you will need to use two trailing spaces. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown). You can have properly indented paragraphs within list items.
⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ ⋅⋅⋅You can have properly indented paragraphs within list items. Actual numbers don't matter, just that it's a number (In this example, leading and trailing spaces are shown with with dots: ⋅) 1. Strong emphasis, aka bold, with asterisks or underscores.Ĭombined emphasis with asterisks and underscores. ~~Scratch this.~~Įmphasis, aka italics, with asterisks or underscores. Strong emphasis, aka bold, with **asterisks** or _underscores_.Ĭombined emphasis with **asterisks and _underscores_**. GitHub Markdown CSS demo GitHub Markdown CSS demoĪlternatively, for H1 and H2, an underline-ish style:Īlternatively, for H1 and H2, an underline-ish style: Alt-H1 Alt-H2Įmphasis Emphasis, aka italics, with *asterisks* or _underscores_.