Skip to content

Commit

Permalink
docs: use relative paths for assets
Browse files Browse the repository at this point in the history
  • Loading branch information
schoero committed Oct 29, 2023
1 parent 1a3e3cd commit 48022c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ With SwissQRBill you can easily generate the new QR Code payment slips in Node.j
<br/>
<br/>

[<img src="https://raw.githubusercontent.com/schoero/SwissQRBill/master/assets/qrbill.svg">](https://github.com/schoero/SwissQRBill/blob/master/assets/qrbill.pdf)
![QR bill](assets/qr-bill.svg)

<br/>
<br/>
Expand Down Expand Up @@ -142,7 +142,7 @@ The documentation for PDFKit can be found [here](http://pdfkit.org/docs/getting_

A simple guide how to generate a complete bill can be found in [docs/how-to-create-a-complete-bill.md][how to create a complete bill]. You will learn how to create a PDF that looks like this:

[<img src="https://raw.githubusercontent.com/schoero/SwissQRBill/master/assets/complete-qr-bill.png">](https://github.com/schoero/SwissQRBill/tree/master/doc/how-to-create-a-complete-bill.md)
![Complete QR bill](assets/complete-qr-bill.png)

[importing documentation]: ./docs/importing.md
[repository docs]: ./docs/
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to-create-a-complete-bill.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ pdf.end();

When you run the code above, SwissQRBill should generate a PDF file named `qr-bill.pdf` that looks like this:

[<img src="https://raw.githubusercontent.com/schoero/SwissQRBill/master/assets/complete-qr-bill.png">](https://github.com/schoero/SwissQRBill/blob/master/assets/complete-qr-bill.pdf)
![Complete QR bill](../assets/complete-qr-bill.png)

[swissqrbill]: https://github.com/schoero/SwissQRBill/blob/v4/docs/pdf/index.md#swissqrbill
[table]: https://github.com/schoero/SwissQRBill/blob/v4/docs/pdf/index.md#table
Expand Down

0 comments on commit 48022c1

Please sign in to comment.