egelmex / TinkerWeb

2 stars 3 forks source link

Adding post on freshers 2014 #73

Closed ghost closed 9 years ago

egelmex commented 9 years ago

Would it be possible to add an image to this post? We usually put the image as the very first thing before the first paragraph so it looks nice on the blogroll.

ghost commented 9 years ago

urr i might be able to get some images off of matt...other then that i have none

egelmex commented 9 years ago

I think Matt tweeted some from freshers fayre that might be useful.

graymalkin commented 9 years ago

Ideally, manually line wrap text in posts - it makes editing and diffing changes much easier. e.g.

# Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque luctus est id varius elementum. Donec sed risus massa. Sed ligula lacus, tristique sed libero et, sodales dignissim eros. Sed convallis posuere tortor blandit ullamcorper. Quisque vitae urna mi. Donec vel quam est. Sed vestibulum eros eget ipsum fermentum, faucibus pretium velit rhoncus.

becomes...

# Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque luctus est 
id varius elementum. Donec sed risus massa. Sed ligula lacus, tristique sed 
libero et, sodales dignissim eros. Sed convallis posuere tortor blandit 
ullamcorper. Quisque vitae urna mi. Donec vel quam est. Sed vestibulum eros 
eget ipsum fermentum, faucibus pretium velit rhoncus.
graymalkin commented 9 years ago

Editors like vim, emacs, Atom etc. have functions for doing this (in emacs M-q, in atom Ctrl + Alt + q, no idea about vim, but it's there)

egelmex commented 9 years ago

I think you forgot to add the actually image to git.

ghost commented 9 years ago

oh god yeah i did one sec!

graymalkin commented 9 years ago

If you remove the break between the image and the 1st paragraph, jekyll will make an except for you - which makes it look nicer on the blog index.