aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors1n <[email protected]>2019-08-08 20:26:23 -0700
committerGitHub <[email protected]>2019-08-08 20:26:23 -0700
commit4dc13d58b27effba8a3d797479076713cc45b2ea (patch)
tree9f15be05dc2e4f0d47abbd44731513010d76135e
parentUpdate README.md (diff)
downloaddownload-test-4dc13d58b27effba8a3d797479076713cc45b2ea.tar.xz
download-test-4dc13d58b27effba8a3d797479076713cc45b2ea.zip
Update README.md
-rw-r--r--README.md19
1 files changed, 18 insertions, 1 deletions
diff --git a/README.md b/README.md
index 359ce7a..4428848 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
<!-- TABLE OF CONTENTS -->
## Table of Contents
+* [Usage](#usage)
* [License](#license)
* [Contact](#contact)
@@ -9,7 +10,23 @@
<!-- USAGE EXAMPLES -->
## Usage
-<a href="http://forward.s1n.pw/download-test">View Demo</a>
+This is the most basic method of creating a downloadable file, <a href="http://forward.s1n.pw/download-test">view demo</a>.
+
+```html
+<a href="/path/to/file/examplefile2.jpg" download>Link text</a>
+```
+<br></br>
+You can also **add text** into the `<a>` tag **to create a button.**
+
+```html
+<a href="/path/to/file/examplefile2.jpg" download>Link text</a>
+```
+<br></br>
+You can also **rename the downloadable file** using the `download=""` variable.
+
+```html
+<a href="/path/to/file/examplefile2.jpg" download="August 31 2016 Sales Report">Download the report</a>
+```