klugjo / hexo-theme-phantom

Hexo implementation of Phantom (http://html5up.net/phantom)
243 stars 65 forks source link

Using custom grid with markdown in posts and pages #28

Closed brian-whitfield closed 5 years ago

brian-whitfield commented 5 years ago

I'm struggling with figuring out a way to use grids/columns with markdown. Does this theme support this?

I would essentially hope to include something like this...

<div class="col-6">
## Intro
</div>
<div class="col-6">
Some info...
</div>
klugjo commented 5 years ago

Markdown does not support 12 columns grid by default.

But it does support tables. Example:

| Table Header 1 | Table Header 2 | Table Header 3 |
| - | - | - |
| Division 1 | Division 2 | Division 3 |
| Division 1 | Division 2 | Division 3 |
| Division 1 | Division 2 | Division 3 |

Otherwise for this theme in particular, you will have to dig into the theme's css.

brian-whitfield commented 5 years ago

I see, thanks for the clarification. I'll play around with it a little bit.