Skip to content

Commit 633e6b6

Browse files
committed
payqr-swiss: use kebab-case names for public functions
1 parent ec846c2 commit 633e6b6

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

packages/preview/payqr-swiss/0.1.0/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ This package provides a simple way to generate Swiss QR bills in [Typst](https:/
1616
Add this package to your Typst project:
1717

1818
```
19-
#import "@preview/payqr-swiss:0.1.0": swiss_qr_bill
19+
#import "@preview/payqr-swiss:0.1.0": swiss-qr-bill
2020
```
2121

2222
## Usage
2323

2424
```typst
25-
#import "@preview/payqr-swiss:0.1.0": swiss_qr_bill
25+
#import "@preview/payqr-swiss:0.1.0": swiss-qr-bill
2626
27-
#swiss_qr_bill(
27+
#swiss-qr-bill(
2828
account: "CH4431999123000889012",
2929
creditor-name: "Max Muster & Söhne",
3030
creditor-street: "Musterstrasse",
@@ -87,7 +87,7 @@ Add this package to your Typst project:
8787
### Example 1: Basic QR bill with QR-IBAN
8888

8989
```typst
90-
#swiss_qr_bill(
90+
#swiss-qr-bill(
9191
account: "CH4431999123000889012",
9292
creditor-name: "Max Muster & Söhne",
9393
creditor-street: "Musterstrasse",
@@ -112,7 +112,7 @@ Add this package to your Typst project:
112112
### Example 2: QR bill with Creditor Reference
113113

114114
```typst
115-
#swiss_qr_bill(
115+
#swiss-qr-bill(
116116
account: "CH5800791123000889012",
117117
creditor-name: "Muster Krankenkasse",
118118
creditor-street: "Musterstrasse",
@@ -136,7 +136,7 @@ Add this package to your Typst project:
136136
### Example 3: QR bill without amount (e.g., for donations)
137137

138138
```typst
139-
#swiss_qr_bill(
139+
#swiss-qr-bill(
140140
account: "CH5204835012345671000",
141141
creditor-name: "Muster Stiftung",
142142
creditor-street: "P.O. Box",
Binary file not shown.

packages/preview/payqr-swiss/0.1.0/examples/example.typ

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#import "../payqr-swiss.typ": swiss_qr_bill
1+
#import "@preview/payqr-swiss:0.1.0": swiss-qr-bill
22

33
// Example 1: Basic QR bill with QR-IBAN
44
#page[
55
= Example 1: Basic QR bill with QR reference
66

7-
#swiss_qr_bill(
7+
#swiss-qr-bill(
88
account: "CH4431999123000889012",
99
creditor-name: "Max Muster & Söhne",
1010
creditor-street: "Musterstrasse",
@@ -30,7 +30,7 @@
3030
#page[
3131
= Example 2: QR bill with Creditor Reference
3232

33-
#swiss_qr_bill(
33+
#swiss-qr-bill(
3434
account: "CH5800791123000889012",
3535
creditor-name: "Muster Krankenkasse",
3636
creditor-street: "Musterstrasse",
@@ -55,7 +55,7 @@
5555
#page[
5656
= Example 3: QR bill without amount (e.g., for donations)
5757

58-
#swiss_qr_bill(
58+
#swiss-qr-bill(
5959
account: "CH5204835012345671000",
6060
creditor-name: "Muster Stiftung",
6161
creditor-street: "P.O. Box",
@@ -71,7 +71,7 @@
7171
#page[
7272
= Example 4: QR bill with billing information
7373

74-
#swiss_qr_bill(
74+
#swiss-qr-bill(
7575
account: "CH5800791123000889012",
7676
creditor-name: "Max Muster & Söhne",
7777
creditor-street: "Musterstrasse",

packages/preview/payqr-swiss/0.1.0/payqr-swiss.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131

3232
// Swiss QR Bill function that returns a content element
33-
#let swiss_qr_bill(
33+
#let swiss-qr-bill(
3434
account: "",
3535
creditor-name: "",
3636
creditor-street: "",

0 commit comments

Comments
 (0)