Assuming your webroot is /var/www
svn export https://github.com/sminnee/markdown-handler.git/trunk/ /var/www/ --force
Contents of .htaccess file
cat /var/www/.htaccess.txt
Output
Action markdown /markdown/handler.php AddHandler markdown .md
Include contents of .htaccess in apache config
a2enmod actions
service apache2 restart