2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-06-13 18:55:26 +00:00

Mention python-barcode parameter adding capabilities (#314)

This commit is contained in:
Miklós Márton
2022-07-21 00:15:46 +02:00
committed by GitHub
parent a85cb64cc6
commit 0a3f6a45cf

View File

@ -47,6 +47,17 @@ The default barcode renderer will generate a barcode using [Code128](https://en.
{% endraw %} {% endraw %}
``` ```
You can also pass further [python-barcode](https://python-barcode.readthedocs.io/en/stable/writers.html#common-writer-options) supported parameters as well:
```html
{% raw %}
{% load barcode %}
<img class='barcode' src='{% barcode part.IPN barcode_class="Code128" write_text=0 background="red" %}'>
{% endraw %}
```
### QR-Code ### QR-Code
!!! info "qrcode" !!! info "qrcode"