distrib/distribusi/mappings.py
rra 52830ff7c4 - changed variable names for clarity
- added f;ag to remove indexes
- made '--no-filename more consistent'
- styled verbose output better.
2019-09-12 18:40:32 +02:00

15 lines
533 B
Python

CODE_TYPES = ['x-c', 'x-shellscript', 'x-python']
FILE_TYPES = {
'image': '<figure><img class="image" src="{}"><figcaption>{}</figcaption></figure>',
'text': '<a href="{}" class="text">{}</a>',
'video': ('<video class="video" controls>' '<source src="{}"></source></video>'),
'audio': ('<audio controls class="audio">' '<source src="{}"></source></audio>'),
}
SUB_TYPES ={
'pdf': (
'<object data="{}" class="pdf" type="application/pdf">'
'<embed src="{}" type="application/pdf" /></object>')
}