---
layout: post
title: Mixyll in Action
date: 2014-06-10 12:31:19
summary: See what the different elements looks like. Your markdown has never looked better. I promise.
categories: jekyll mixyll
---
There is a significant amount of subtle, yet precisely calibrated, styling to ensure
that your content is emphasized while still looking aesthetically pleasing.
All links are easy to [locate and discern](#), yet don't detract from the [harmony
of a paragraph](#). The _same_ goes for italics and __bold__ elements. Even the the strikeout
works if for some reason you need to update your post. For consistency's sake,
The same goes for insertions, of course.
### Code, with syntax highlighting
Here's an example of some ruby code with line anchors.
{% highlight ruby lineanchors %}
# The most awesome of classes
class Awesome < ActiveRecord::Base
include EvenMoreAwesome
validates_presence_of :something
validates :email, email_format: true
def initialize(email, name = nil)
self.email = email
self.name = name
self.favorite_number = 12
puts 'created awesomeness'
end
def email_format
email =~ /\S+@\S+\.\S+/
end
end
{% endhighlight %}
Here's some CSS:
{% highlight css %}
.foobar {
/* Named colors rule */
color: tomato;
}
{% endhighlight %}
Here's some JavaScript:
{% highlight js %}
var isPresent = require('is-present')
module.exports = function doStuff(things) {
if (isPresent(things)) {
doOtherStuff(things)
}
}
{% endhighlight %}
Here's some HTML:
{% highlight html %}
### Tables Tables represent tabular data and can be built using markdown syntax. They are rendered responsively in Mixyll for a variety of screen widths. Here's a simple example of a table: | Quantity | Description | Price | |----------+-------------+----------:| | 2 | Orange | $0.99 | | 1 | Pineapple | $2.99 | | 4 | Banana | $0.39 | |==========|=============|===========| | | **Total** | **$6.14** | A table must have a body of one or more rows, but can optionally also have a header or footer. The cells in a column, including the header row cell, can either be aligned: - left, - right or - center. Most inline text formatting is available in table cells, block-level formatting are not. |----------------+----------------------+------------------------+----------------------------------| | Default header | Left header | Center header | Right header | |----------------|:---------------------|:----------------------:|---------------------------------:| | Default | Left | Center | Right | | *Italic* | **Bold** | ***Bold italic*** | `monospace` | | [link text](#) | ```code``` | ~~Strikeout~~ | Insertion | | linePerfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.