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.
Here's an example of some ruby code with line anchors.
:::ruby
# 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
Here's some CSS:
:::css
.foobar {
/* Named colors rule */
color: tomato;
}
Here's some JavaScript:
:::javascript
var isPresent = require('is-present')
module.exports = function doStuff(things) {
if (isPresent(things)) {
doOtherStuff(things)
}
}
Here's some HTML:
:::html
<div class="m0 p0 bg-blue white">
<h3 class="h1">Hello, world!</h3>
</div>
They're responsive, and well-proportioned (in padding
, line-height
, margin
, and font-size
).
They also heavily rely on the awesome utility, BASSCSS.
This allows your content to have the proper informational and contextual hierarchy. Yay.
- Apples
- Oranges
- Potatoes
- Milk
- Mow the lawn
- Feed the dog
- Dance
Also the result of BASSCSS, you can highlight certain components of a post with CSS classes.
I don't recommend using blue, though. It looks like a link.
You can use the markdown quote syntax, >
for simple quotes.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse quis porta mauris.
However, you need to inject html if you'd like a citation footer. I will be working on a way to hopefully sidestep this inconvenience.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Antoine de Saint-Exupéry
Checkout the Github repository to request, or add, features.
Happy writing.