2016-06-24 01:26:01 +12:00
|
|
|
|
2016-11-22 01:57:05 +13:00
|
|
|
export const NS = {
|
2016-06-24 01:26:01 +12:00
|
|
|
OPF: 'http://www.idpf.org/2007/opf',
|
|
|
|
OPS: 'http://www.idpf.org/2007/ops',
|
|
|
|
DC: 'http://purl.org/dc/elements/1.1/',
|
|
|
|
DAISY: 'http://www.daisy.org/z3986/2005/ncx/',
|
|
|
|
XHTML: 'http://www.w3.org/1999/xhtml',
|
|
|
|
SVG: 'http://www.w3.org/2000/svg',
|
|
|
|
XLINK: 'http://www.w3.org/1999/xlink'
|
|
|
|
}
|
|
|
|
|
2016-11-22 01:57:05 +13:00
|
|
|
export const tidyOptions = {
|
2019-10-08 22:31:42 +13:00
|
|
|
indent: 'auto',
|
2016-06-24 01:26:01 +12:00
|
|
|
'numeric-entities': 'yes',
|
|
|
|
'output-xhtml': 'yes',
|
|
|
|
'alt-text': 'Image',
|
2019-10-08 22:31:42 +13:00
|
|
|
wrap: '0',
|
|
|
|
quiet: 'yes',
|
|
|
|
newline: 'LF',
|
2016-06-28 09:19:01 +12:00
|
|
|
'tidy-mark': 'no',
|
|
|
|
'show-body-only': 'auto'
|
2016-06-24 01:26:01 +12:00
|
|
|
}
|
|
|
|
|
2016-11-22 01:57:05 +13:00
|
|
|
export const containerXml = `<?xml version="1.0" encoding="UTF-8"?>
|
2016-06-24 01:26:01 +12:00
|
|
|
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
|
|
|
|
<rootfiles>
|
2016-08-19 20:24:20 +12:00
|
|
|
<rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>
|
2016-06-24 01:26:01 +12:00
|
|
|
</rootfiles>
|
|
|
|
</container>
|
|
|
|
`
|
2018-03-24 04:33:02 +13:00
|
|
|
|
|
|
|
export const unicode = {
|
|
|
|
NO_BREAK_SPACE: '\u00a0',
|
|
|
|
WORD_JOINER: '\u2060',
|
|
|
|
HAIR_SPACE: '\u200a',
|
|
|
|
ZERO_WIDTH_SPACE: '\ufeff',
|
|
|
|
SHY_HYPHEN: '\u00ad'
|
|
|
|
}
|
|
|
|
|
2016-11-22 01:57:05 +13:00
|
|
|
export const youtubeKey = 'AIzaSyCF1taix0lTr7-e_XBZazIXfAr8IvxTJhA'
|