mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-27 21:26:43 +00:00
Mention python-barcode parameter adding capabilities (#314)
This commit is contained in:
parent
a85cb64cc6
commit
0a3f6a45cf
@ -47,6 +47,17 @@ The default barcode renderer will generate a barcode using [Code128](https://en.
|
||||
{% 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
|
||||
|
||||
!!! info "qrcode"
|
||||
|
Loading…
x
Reference in New Issue
Block a user