barryclark / jekyll-now

Build a Jekyll blog in minutes, without touching the command line.
MIT License
8.26k stars 35.23k forks source link

How do I change the format so that it looks exactly like the format in Github? #350

Closed pong-pantola closed 8 years ago

pong-pantola commented 8 years ago

I planned to use Github to host tutorials I'm creating. I like how my markdown files are formatted in Github. However, I don't want the features for code sharing (e.g., Fork Button) to appear since I'm using it more of a Blog rather than as a code repository.

I recently discovered Gitpages and saw that I can quickly create one using Jekyll Now. I'm able to transfer my tutorial to my Gitpages using Jekyll Now. However, the format of the blog is not the same if compared to viewing the same markdown file using Github.

I think it has something to do with templates. But I have no idea on how to configure the _config.yml file so that my Gitpage will have the same format has Github.

May I request your assistance on this?

Attached are the screenshot of my Blog in github (the format I like) and the one in gitpage (the format is wrong but I want to use this because it removes the unnecessary buttons that appear in Github). screenshot of tutorial in github screenshot of tutorial in gitpage

Thanks.

alexis

benpetersen commented 8 years ago

First point on code sharing, if it's hosted on github, it's sharable. However, you can create private repositories, but there is a charge per month for that.

Second point on formatting, you have a couple options. Build a widget and use custom CSS or use Github Gits but keep in mind, everything Jekyll does, Jekyll Now does not.