Options -Indexes

Order Deny,Allow

<Files "*.md">
Deny from all
Allow from localhost
</Files>