"
# parts = []
# if 'desc' in metadata:
# desc = metadata['desc']
# # colorize the first instance of the database name in the header
# if 'color' in metadata and metadata['title'] in desc:
# desc = desc.replace(metadata['title'], "
{}".format(metadata['color'], metadata['title']), 1)
# section += "
{}
".format(desc, desc)
# if 'subdesc' in metadata:
# subdesc = markdown(metadata['subdesc']).replace('
', '').replace('
', '')
# section += "
{}
".format(subdesc, subdesc)
# section += "
"
section += "