Test all the things

Usually one would hide / delete a post which has been created for the sole purpose of exercising all the aspects of theming, but hey, someone might find this interesting - see inside the mind of a madman if you will. As you may be able to tell I am all about the markdown. So concise, so flavourful. Hemingway would have been a fan. Anyhoo, what follows exercises all the things currently supported.

Smart quotes? “double” and ‘single’.

This should be red

Add a class

Add an id

How about a task list?

  • [x] Install this extension
  • [ ] ???
  • [ ] Profit!

An external link.

This [^note1]should be a link to footnote below.

Some formatted text such as Bold, Italic Strikethrough? yeah baybee.

How about some tables:

th th(center) th(right)
td td td

This is a block quote using an angled bracket

With some text inbetween two block quotes, as two blockquotes after each other is unusual.

This is a much longer block quote which will span lots and lots of lines - well, more than one line I suspect.

Time for a list:

  • This is a list item, which I will make super duper pooooper long so that it spans a couple of lines, fingers crossed
  • Another item
  • And another

Ordered list:

  1. First
  2. This is another numbered list item, which I will make super duper pooooper long so that it spans a couple of lines, fingers crossed
  3. Third

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

It’s a link to google. How about a link to an internal page?

How about some PHP code:

$this->callThing('alsdkjf');
$arr = [
  '0' => $blah,
];

Js code:

let thing = () => 1 + 1;
var it = function() {
  return true;
}
const foo = 'bar';

Yaml:

thing:
  - blah:
    value: 'awesome'

Vimscript:

function! Customfoldtext() abort
  "get first non-blank line
  let fs = v:foldstart
  while getline(fs) =~ '^\s*$' | let fs = nextnonblank(fs + 1)
  endwhile
  if fs > v:foldend
    let line = getline(v:foldstart)
  else
    let line = substitute(getline(fs), '\t', repeat(' ', &tabstop), 'g')
  endif
endfunction

Bash:

jira_submit() {
  read -p "Submit running timer [y,n,?]" yn
  case $yn in
    [Yy]* ) jira_worklog_time "$issue"; watson stop;;
    [Nn]* ) watson stop;;
    [?]* ) echo "Yes [y], no [n]";;
    * ) echo "Please select an option.";;
  esac

  exit;
}

What should follow is a horizontal rule.


And finally an image:

Hero

And that’s all folks!

[^note1]: As mentioned previously, previously, previously.

// @Category
// @Tags
// @Size
// @
11/06/2018