from IPython.display import display, HTML
cname = “target-section”
1. Print the Destination Anchor#
display(HTML(f’
’))2. Print the Jump Link#
display(HTML(f’Click here to jump to {cname}’))
from IPython.display import display, Markdown
cname = “target-section”
1. Print the Destination Anchor (Markdown requires HTML for IDs)#
display(Markdown(f’
’))2. Print the Jump Link#
display(Markdown(f”Click here to jump to {cname}”))