This is a unit test post for various features that should be present on my blog. Do not take it seriously, move on to my home page. Test, test, one-two-three. Here we go: This is an external link and it should be rendered as such. To be clear here is another external link with short Markdown syntax.

This sentence should not appear in the summary.

  • Title = This is a unit test post for the blog
  • Make sure you see the quote: This quote is the subtitle for the article
  • Slug = test
  • Date = 2010-01-01 12:30:00 PST
  • Tags = test
  • Make sure you’re seeing the garage door cover image.

Other post-related meta

  • Draft posts should have a warning callout.
  • Posts with comments: false should hide the comments section and not load Disqus js.
  • Google Analytics tracking code is present.

Typography (h1)

Turning to Vice President Mike Pence, he added an aside about news media fact-checkers: “I better say ‘think’; otherwise they will give you a Pinocchio. And I don’t like Pinocchios.”

In fact, as he approaches six months in office on Thursday, Mr. Trump is slightly behind the lawmaking pace for the past six presidents, who as a group signed an average of 43 bills during the same period. And an analysis of the bills Mr. Trump signed shows that about half were minor and inconsequential, passed by Congress with little debate. Among recent presidents, both the total number of bills he signed and the legislation’s substance make Mr. Trump about average.

When a h1 doesn’t do it, you need (h2)

Mr. Shaub, who is taking a job at a nonprofit group called the Campaign Legal Center, said he had never wanted the role of challenging the president of the United States. He said he regretted that his actions had at times been exploited by Democrats, including at least one effort to raise money off his work.

“I would not have picked this fight,” said Mr. Shaub, who became a junior lawyer in the ethics office in 2001 and was appointed by President Barack Obama in January 2013 to a five-year term as director. “But I have never been one to shy away from bullies.”

This is a sub-title of the post (h3)

He said he realized it might take years to get even some of his proposals enacted, perhaps dragging into the next presidential term. He is even considering recommending that the new rules, if enacted, not take effect until January 2021 — the end of Mr. Trump’s first term — to make the effort less partisan.

Another sub-title for this story (h3)

“I don’t like the fair-weather friends who are supportive of the ethics program only as a political tool against this present administration,” Mr. Shaub said. “My goal from the start has been to advance the ethics program, not a political goal.”

Our Hero the H1 Comes Back Again!

Mr. DiNardo grew up in the middle-class suburb of Bensalem, the oldest child of Antonio and Sandra DiNardo. Antonio DiNardo owns a concrete company, Metro Ready Mix and Supply, and inherited a lucrative real estate portfolio after the death of his father, for whom Cosmo DiNardo was named. Sandra DiNardo runs a trucking company, Bella Trucking, and she and her husband built a profitable partnership by selling concrete and delivering it.

A neighbor of the DiNardos in Bensalem said Mr. DiNardo’s grandfather and father, who goes by Tony, built all of the stucco homes on their cul-de-sac. “He’s a workaholic, Tony,” said the neighbor, a physician, who asked to be identified by only his first name, Abid.

When it goes this low, we need a h4

“Cosmo was crazy,” said Amber Peters, 20, whose boyfriend was once close to Mr. DiNardo. “He’s been talking about killing people since he was 14.” She said Mr. DiNardo made unwanted and obnoxious overtures to young women on social media. “He randomly messages girls, saying, ‘Hey, babe,’ calling them hos and trying to have sex with them.”

Another h4

Last week, a woman posted a series of messages exchanged on Facebook in December and January that show Mr. DiNardo aggressively pestering her for a date and more.

“Leave me alone please,” the woman replied, to which he answered, “why baeb I’m pretty cute and so are you,” and, “i wanna make babies asap.”


Other elements

Now we start a new paragraph, here is some inline bold, italic and CODE_FORMAT. Here is some inline strikethrough text. Emojis (🙌) and normal HTML codes (©, ♥) are rendered as well.

Here is a footnote: This part isn’t a footnote.1 Second footnote. 2

Here is a blockquote from NYTimes:

Mr. Sekulow said that the message was merely a response by the president to a Washington Post article citing five unnamed sources who said Mr. Trump was under investigation in the Russia case. Mr. Sekulow said that Mr. Trump would have challenged the basic assertion of the article, but was constrained by Twitter’s limit of 140 characters per post.

This link goes to code blocks section. Here is an internal link to my first post.

Lists rendering (h2)

This is the third paragrapgh, the following is a numbered list:

  1. first item
  2. second item
  3. third item

The following is an unordered list:

  • unordered item
  • unordered item
  • unordered item

Here is a nested list:

  1. Item A

    • unordered under Item A
    • unordered under Item B
  2. Item B 0. B1 0. B2 - unordered (of B2) - unordered (of B2)

  3. Item C

    Here is a block quote.

    and this quote is multi text.

  4. Item D showcases some code:

    if err != nil { panic(err) }
    return nil
    
  5. Item E showcases more code:

     this is some
     code block..
     ....monotype
     <- check there are no extra lines to the left
    

Here is some line-separator:


Media rendering (h2)

Video with controls,loop and autoplay:

Here is a GIF (w=640px), likely smaller than the paragraph width:

Here is a image (w=2048px) that needs to be downsized:

HTML image with background-color tint:

<img src=’/blog/images/2015/07/new-badges.png’/ style=‘background-color: rgb(248,248,248)’/>

Here are three images next to each other (on separate lines):

External media (h3)

Speakerdeck slides (h4)

YouTube (h4)

This is the unchanged embed code from YouTube

Tweet (h4)

Below you should see this tweet:

Audio file (h4)

This can be used for podcasts etc. Here’s an HTML5 audio player with controls:

Asciinema (h4)

Here is an asciinema.com embed:

Vimeo (h4)

Channel9 (h4)

Code blocks rendering (code-in-title) (h2)

4-spaced code block:

brew tap ahmetb/kubectx https://github.com/ahmetb/kubectx.git
brew install kubectx

Same code block as plaintext with 3-backticks:

brew tap ahmetb/kubectx  https://github.com/ahmetb/kubectx.git
brew install kubectx

Code blocks can also happen in a blockquote:

first code line
second code line

Syntax-higlighted Go code:

func main(){
	cmd := exec.Command("/bin/echo", "Hello, world!")
	b, err := cmd.Output()
	if err != nil {
		panic(err)
	}
	fmt.Printf("Output: %s", b)
}

Blocks


  1. this is now a footnote, this sentence is bold. Some link in the footnote, because why not. The entire footnote should occur on a single line in the source file. ↩︎

  2. this is a short one. ↩︎