Testing Markdown Blog Post

1 minute reading time | Comments

Testing markdown blog post. Will this replace our old blog?

Here is a markdown post: italic, bold, inline code

  • Bullet points
  • Another bulllet

Markdown is a lightweight markup language based on the formatting conventions that people naturally use in email.

The overriding design goal for Markdown’s formatting syntax is to make it as readable

Code syntax highlight blocks

See here for a full list of code syntax markdown tags

Python code syntax:

# Initialize logging
self._log = logging.getLogger("EmonHub")

## PHP code syntax:

public function get_npoints($feedid) {
    $feedid = (int) $feedid;

c++ code syntax:

int get_temperature(byte sensor)
{
  float temp=(sensors.getTempC(allAddress[sensor]));
  if ((temp<125.0) && (temp>-55.0)) return(temp*10);            //if reading is within range for the sensor convert

Bash code syntax markdown:

$ echo "hello world"

# Table:

Column1 Column2
test1 xyz

Redcloth Ruby Gem is used to render markdown in Jekyll.

Warning boxes

Testing warning note

testing info node

Comments