Separate html and markdown template loading.