Skip to content

Commit

Permalink
add fake href
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvaSambrani committed Dec 2, 2020
1 parent 70695d8 commit 3012570
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

This is the template Markdown file which is compiled using PaperBuilder.

| Build Type | Command |
| ----------------------------------------------------------------- | ------------------------------ |
| <a onclick="setpdf('report.pdf')">Report</a> | `PaperBuilder report test` |
| <a onclick="setpdf('assign.pdf')">Assignment</a> | `PaperBuilder assign test` |
| <a onclick="setpdf('report_with_extra.pdf')">Report Extra</a> | `PaperBuilder report test --e` |
| <a onclick="setpdf('assign_with_extra.pdf')">Assignment Extra</a> | `PaperBuilder assign test --e` |
| [Report Latex](./test/report.tex) | `PaperBuilder ltxreport test` |
| [Assignment Latex](./test/assign.tex) | `PaperBuilder ltxassign test` |
| Build Type | Command |
| ----------------------------------------------------------------------------------- | ------------------------------ |
| <a href="#pdfviewer" onclick="setpdf('report.pdf')">Report</a> | `PaperBuilder report test` |
| <a href="#pdfviewer" onclick="setpdf('assign.pdf')">Assignment</a> | `PaperBuilder assign test` |
| <a href="#pdfviewer" onclick="setpdf('report_with_extra.pdf')">Report Extra</a> | `PaperBuilder report test --e` |
| <a href="#pdfviewer" onclick="setpdf('assign_with_extra.pdf')">Assignment Extra</a> | `PaperBuilder assign test --e` |
| [Report Latex](./test/report.tex) | `PaperBuilder ltxreport test` |
| [Assignment Latex](./test/assign.tex) | `PaperBuilder ltxassign test` |

<embed id="pdfviewer" src="" type="application/pdf" width="100%" height=750px>
<embed id="pdfviewer" src="./test/report.pdf" type="application/pdf" width="100%" height=750px>

<script>
function setpdf(name) {
Expand Down

0 comments on commit 3012570

Please sign in to comment.