-
Notifications
You must be signed in to change notification settings - Fork 0
Style Documentation
At the beginning of the markup for each post, add this element:
<div data-author="[firstname]-[lastname]"></div>
The markup contains a script that will look for this element and fill in the author name and avatar. Doing it this way lets us give each post a different author while keeping the markup for author and post date where Tumblr wants it to be (in the main theme markup).
Inline:
<code class=“monospace”>[code here]</code>
Block:
<pre class=“pre”><code class=“monospace”>[code here]</code></pre>
Note that code blocks will wrap by default. To disable wrapping, add .no-wrap
to the <code>
element and it will scroll horizontally.
<img src=“[source]” class=“post-graphic” width=“[width]” height=“[height]”>
Add [[MORE]]
on an empty line to set the point at which the post will be truncated on the blog’s main page.