"""
:synopsis: Helper functions for use inside the project's Jinja templates.
"""
import re
from flask import Markup
ASSET_HTML_TEMPLATES = {
'css': "",
'js': ""
}
def tag(filename):
"""
Generate an HTML tag for a CSS/JS asset, based on its file extension.
:param filename: The filename of the asset to create a tag for.
:type filename: str
:return: A string containing a `