adds snippet generator, properly adds answer previews to sidebar