1
0
Fork 0

changes code examples in the tutorial to align with the currently generated file

This commit is contained in:
Zee 2023-08-06 14:00:10 +00:00
parent 98dcb5301b
commit ba4b77cb42
4 changed files with 47 additions and 15 deletions

View file

@ -16,8 +16,8 @@ So let's add it as a required measurement.
## Adding required measurements
In our `bib.mjs` file, on the `bib` object, we'll add a new key called
`measurements` that will hold a list (an array) of all required measurements
In our `bib.mjs` file, on the `bib` object, there is a key called
`measurements` (line 121) that will hold a list (an array) of all required measurements
for this part.
We are going to use *the official name* of the measurement. For head
@ -31,10 +31,19 @@ function draftBib({ part }) {
export const bib = {
name: 'tutorial.bib',
draft: draftBib,
// highlight-start
draft: draftBib,[],
from: false,
hide: {
self: false,
from: false,
after: false
},
options: {},
// start-highlight
measurements: ['head'],
// highlight-end
// end-highlight
optionalMeasurements: [],
plugins: []
}
```