You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ fileToContent returns an object of type EbookContent, which has the following fi
31
31
32
32
**images** : Object where keys are image filenames, values are dataURLs (so you can use ```<img :src="data.images[filename]"```)
33
33
34
-
**metadata** : Object with the following self-explanatory fields: *author, name, publisher, description, language*. Only *name* and *language*are guaranteed to be non-null
34
+
**metadata** : Object with all metadata entries. Only *title*, *identifier*, and *language* are guaranteed to be non-null. Typically also includes information like *creator*, *publisher*, *date*, etc. Values are either Strings or arrays of Strings. Array of Strings happens when a metadata tag is specified multiple times, for example ```metadata.subject == ['Non-fiction', 'Biology']```
0 commit comments