EasySci commited on
Commit
4abbe3f
·
1 Parent(s): 772de5b

Update TLDR.py

Browse files
Files changed (1) hide show
  1. TLDR.py +2 -2
TLDR.py CHANGED
@@ -58,7 +58,7 @@ def update_mainTLDR(buttons_to_add, paper_list):
58
 
59
  # Create the HTML content for both links with line breaks
60
  html_content = (
61
- f'<a href="{paper.entry_id}" target="_blank">{paper.entry_id}</a>'
62
  f' - <a href="{paper.pdf_url}" target="_blank">PDF</a>'
63
  f' - {(paper.published).strftime("%d/%m/%Y %H:%M:%S")}'
64
  )
@@ -92,4 +92,4 @@ def update_mainTLDR(buttons_to_add, paper_list):
92
  else:
93
  main_tldr.append(pn.pane.Markdown("# Please select some tags!"))
94
 
95
- return main_tldr
 
58
 
59
  # Create the HTML content for both links with line breaks
60
  html_content = (
61
+ f'<a class="anchor" href="#{anchor_id}">{paper.entry_id}</a>'
62
  f' - <a href="{paper.pdf_url}" target="_blank">PDF</a>'
63
  f' - {(paper.published).strftime("%d/%m/%Y %H:%M:%S")}'
64
  )
 
92
  else:
93
  main_tldr.append(pn.pane.Markdown("# Please select some tags!"))
94
 
95
+ return main_tldr