HTML Download Links Code
title: Contents
style: nestedList # TOC style (nestedList|inlineFirstLevel)
minLevel: 1 # Include headings from the specified level
maxLevel: 4 # Include headings up to the specified level
includeLinks: true # Make headings clickable
debugInConsole: false # Print debug info in Obsidian console
Overview
You can use the download attribute with the <a>
element to specify that when a user clicks the link, the linked resource should be downloaded rather than navigated to.
Code Snippet
< a href = "document.pdf" download = "document.pdf" > Download PDF </ a >
Details
This note is about …
See Also
Appendix
Note created on 2024-04-18 and last modified on 2024-04-18 .
Backlinks
LIST FROM [[HTML - Download Links]] AND -"CHANGELOG" AND -"04-RESOURCES/Code/HTML/HTML - Download Links"
(c) No Clocks, LLC | 2024