@canopycanopycanopy/b-ber-parser-footnotes 3.0.8 → 3.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ function renderFootnoteRef(tokens, idx, options, env, slf) {
|
|
|
36
36
|
const ref = counter.getRef();
|
|
37
37
|
return `<a epub:type="noteref" class="footnote-ref" href="notes.xhtml#fn${ref}" id="fnref${ref}">${caption}</a>`;
|
|
38
38
|
}
|
|
39
|
-
function renderFootnoteBlockOpen(
|
|
39
|
+
function renderFootnoteBlockOpen(/* tokens, idx, options */
|
|
40
40
|
) {
|
|
41
41
|
const start = counter.listCounter(_State.default.config.group_footnotes, _State.default.footnotes.length);
|
|
42
42
|
return `<ol class="footnotes" start="${start}">`;
|
|
@@ -83,7 +83,7 @@ function renderFootnoteOpen(tokens, idx, _options, env, _self) {
|
|
|
83
83
|
function renderFootnoteClose() {
|
|
84
84
|
return '</li>';
|
|
85
85
|
}
|
|
86
|
-
function renderFootnoteAnchor(
|
|
86
|
+
function renderFootnoteAnchor(/*tokens, idx, options,env, slf */
|
|
87
87
|
) {
|
|
88
88
|
/* ↩ with escape code to prevent display as Apple Emoji on iOS */
|
|
89
89
|
// return ' <a href="#fnref' + id + '">\u21a9\uFE0E</a>';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canopycanopycanopy/b-ber-parser-footnotes",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"rimraf": "^2.7.1"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@canopycanopycanopy/b-ber-lib": "3.0.
|
|
29
|
-
"@canopycanopycanopy/b-ber-logger": "3.0.
|
|
30
|
-
"@canopycanopycanopy/b-ber-shapes-directives": "3.0.
|
|
31
|
-
"@canopycanopycanopy/b-ber-templates": "3.0.
|
|
28
|
+
"@canopycanopycanopy/b-ber-lib": "3.0.9",
|
|
29
|
+
"@canopycanopycanopy/b-ber-logger": "3.0.9",
|
|
30
|
+
"@canopycanopycanopy/b-ber-shapes-directives": "3.0.9",
|
|
31
|
+
"@canopycanopycanopy/b-ber-templates": "3.0.9",
|
|
32
32
|
"lodash": "^4.17.21",
|
|
33
33
|
"lodash.isundefined": "^3.0.1",
|
|
34
34
|
"tar": "^6.1.11"
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"url": "https://maxwellsimmer.com"
|
|
51
51
|
}
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "c5dc2ab27068cd5ecb1e7a205d4f97077e4b6c41"
|
|
54
54
|
}
|