samarsault / plainwhite-jekyll

A configurable portfolio-style jekyll theme for writers.
https://samarsault.com
MIT License
460 stars 480 forks source link

Creating markdown tables #34

Closed AlexMussell closed 4 years ago

AlexMussell commented 4 years ago

Hey man,

Im trying to create markdown tables eg:

| a | b | c | d | e | f | g | h | i |
|---|---|---|---|---|---|---|---|---|

When rendering in VSCode, this table looks as it should. However, It just renders as a string. Is this related to the theme in any way? How can i apply this myself otherwise?

samarsault commented 4 years ago

You'll have to follow the github pages syntax: https://help.github.com/en/github/writing-on-github/organizing-information-with-tables

For example,

| First Header  | Second Header |
| ------------- | ------------- |
| Content Cell  | Content Cell  |
| Content Cell  | Content Cell  |
samarsault commented 4 years ago

Also, there are at present no explicit styles defined for a table, so you would have to style it yourself. It would be great if you could submit a PR for that :)

AlexMussell commented 4 years ago

If I get some time, i'll look into it. Im not a frontend person by trade. If you want to see what I have done with your template, check out (https://alexandermussell.com). Your template was a great start. Good stuff man.