@@ -86,7 +86,7 @@ There are two ways to add or remove a behavior on a type:
8686### Using a GenericSetup profile
8787
8888Given you already have a custom add-on with a ` profiles/default ` directory.
89- Given we created a custom behavior named ` mybehavior.subtitle ` .
89+ Given you created a custom behavior named ` mybehavior.subtitle ` .
9090
9191If you want to enable a behavior on an existing content type, create a new directory ` types ` under ` profiles/default ` .
9292In there create a file named the same as the content type you want to change.
@@ -153,7 +153,7 @@ The [README file of `plone.behavior`](https://github.com/plone/plone.behavior/bl
153153
154154## Custom behaviors
155155
156- From the last section we can take away, that there are two main types of behaviors:
156+ From the last section you can take away, that there are two main types of behaviors:
157157
158158- Schema-only behaviors: These behaviors have only a schema with fields.
159159
@@ -202,13 +202,13 @@ To display the data entered in this field you need to modify the page template a
202202
203203### Creating a behavior with an adapter and factory
204204
205- Given we want to display a price with different content types.
205+ Given you want to display a price with different content types.
206206The price is stored as the net value on the type as a floating point number.
207- For display, we need at several places the VAT and the gross value.
207+ For display, you need at several places the VAT and the gross value.
208208
209- We create a schema with the net value for the form and attributes for the calculated values.
210- We create an adapter to calculate the VAT and gross values.
211- We need a marker interface to distinguish between context and adapter.
209+ You create a schema with the net value for the form and attributes for the calculated values.
210+ You create an adapter to calculate the VAT and gross values.
211+ You need a marker interface to distinguish between context and adapter.
212212
213213The Python code in a file ` price.py ` looks like so:
214214
0 commit comments