diff --git a/create_markdown.py b/create_markdown.py index 45d8cb2..3ddceef 100644 --- a/create_markdown.py +++ b/create_markdown.py @@ -99,7 +99,9 @@ def write_dataset(dset, n_files, data_size, file_table_rows): total_bytes += file_entry["length"] fsize = sizeof_fmt(file_entry["length"]) freq = get_fileinfo(file_name) - flink = f"[`{file_name}`](https://{config['DOMAIN']}/{file_path})" + flink = f"[`{file_name}`]({file_entry['url']})" + if flink.endswith(".jpg)") and dset in ["dust", "synch"]: + flink = "!" + flink dset_table_data.append([flink, freq, fsize]) dset_size = sizeof_fmt(total_bytes) write_dataset(dset, n_files, dset_size, dset_table_data)