aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to '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>
+```