Stylization of the octopress image (for example, images are all in a row)
Any advice on image layout with plugin {%img ... %}
?
I'm fine with left
and right
, but I really would like all images to be vertical, for example, and can't quite figure out how to style things.
I thought maybe add <div class="right">
around the clumps on {% img ... %}
, but there seems to be too much to interfere with the HTML.
Thanks in advance for any pointers
ps, I saw this question but it didn't exactly answer my question
source to share
In markdown method, you can write tables using the following syntax
-----------------
| A | B |
| :---: | :---: |
| C | D |
-----------------
Two points on each side of the horizontal lines determine the alignment of your cells:
- centered on :
:--:
- left :
:---
- on the right :
---:
You can use as many dashes as you like in the middle.
I used this technique to align images in a table in this blog post (look for "Nil" inside). It looks like this:
using this code:
| Nil | Inline / list | Table |
| :---: | :---: | :---: |
| {% img /images/2013-02-04-nil.png 36 92 Nil line numbers %} | {% img /images/2013-02-04-inline.png 62 92 Inline line numbers %} | {% img /images/2013-02-04-table.png 72 92 Table line numbers %} |
source to share