Restoring syntax-highlight (I changed my mind)
This commit is contained in:
parent
d683ac7025
commit
940cb08b68
7 changed files with 44 additions and 18 deletions
|
@ -24,15 +24,21 @@ This property will be an Array (a list) holding all required measurements for th
|
|||
I am using [*the official name* of the measurement](/reference/measurements) here. For head
|
||||
circumference, that name is `head`.
|
||||
|
||||
```src/bib.mjs
|
||||
function draftBib({ part }) => {
|
||||
<Fixme>
|
||||
The `design/src/bib.mjs` "language" title is out of date. It is used in the tutorial from this point forward to maintain syntax-highlight not yet available for the `src/bib.mjs` title, but should be replaced with `src/bib.mjs`.
|
||||
</Fixme>
|
||||
|
||||
```design/src/bib.mjs
|
||||
function draftBib({ part }) {
|
||||
return part
|
||||
}
|
||||
|
||||
export const bib = {
|
||||
name: 'fromscratch.bib',
|
||||
draft: draftBib,
|
||||
// highlight-start
|
||||
measurements: [ 'head' ],
|
||||
// highlight-end
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue