add gitignore
fix empty preview when pygments exec failed
support link for linenum