paginar 0.3.0 → 0.3.2

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.
Files changed (55) hide show
  1. package/.editorconfig +13 -13
  2. package/.env +1 -1
  3. package/.vscode/extensions.json +3 -3
  4. package/LICENSE.md +21 -21
  5. package/README.md +244 -244
  6. package/demo/slot/slot-chapter1.html +384 -384
  7. package/demo/slot/slot-chapter2.html +366 -366
  8. package/demo/slot/slot-chapter3.html +265 -265
  9. package/demo/summary/_content/1chapter.html +100 -100
  10. package/demo/summary/_content/2chapter.html +311 -311
  11. package/demo/summary/_content/3chapter.html +211 -211
  12. package/demo/summary/index.html +134 -134
  13. package/dist/index.es.js +849 -840
  14. package/dist/index.es.js.map +1 -1
  15. package/dist/style.css +9 -9
  16. package/index.html +18 -18
  17. package/package.json +1 -1
  18. package/src/App.ce.vue +148 -148
  19. package/src/assets/main.css +392 -392
  20. package/src/components/BookContent.vue +23 -23
  21. package/src/components/FooterSlot.vue +32 -32
  22. package/src/components/FootnotesAside.vue +123 -123
  23. package/src/components/HeaderSlot/HeaderSlot.vue +30 -30
  24. package/src/components/HeaderSlot/OptionsButton/OptionsButton.vue +67 -67
  25. package/src/components/HeaderSlot/OptionsButton/OptionsColor.vue +28 -28
  26. package/src/components/HeaderSlot/OptionsButton/OptionsColumns.vue +51 -51
  27. package/src/components/HeaderSlot/OptionsButton/OptionsDropdown.vue +59 -59
  28. package/src/components/HeaderSlot/OptionsButton/OptionsFontFamily.vue +17 -17
  29. package/src/components/HeaderSlot/OptionsButton/OptionsFontSize.vue +17 -17
  30. package/src/components/HeaderSlot/SummaryButton/SummaryButton.vue +70 -70
  31. package/src/components/HeaderSlot/SummaryButton/SummaryDropdown.vue +6 -6
  32. package/src/components/ReaderWrapper.vue +37 -37
  33. package/src/components/ReferencePopup.vue +36 -36
  34. package/src/components/icons/Close.vue +6 -6
  35. package/src/components/icons/DoubleColumn.vue +15 -15
  36. package/src/components/icons/Expand.vue +7 -7
  37. package/src/components/icons/Eye.vue +9 -9
  38. package/src/components/icons/Footnote.vue +5 -5
  39. package/src/components/icons/Home.vue +6 -6
  40. package/src/components/icons/Moon.vue +5 -5
  41. package/src/components/icons/Notes.vue +5 -5
  42. package/src/components/icons/SingleColumn.vue +3 -3
  43. package/src/components/icons/Summary.vue +10 -10
  44. package/src/components/icons/Sun.vue +5 -5
  45. package/src/components/icons/ThreeDots.vue +8 -8
  46. package/src/composables/useBrowser.js +16 -16
  47. package/src/composables/useFootnotes.js +50 -50
  48. package/src/composables/usePagination.js +125 -125
  49. package/src/composables/useReaderSettings.js +174 -174
  50. package/src/composables/useReferences.js +67 -67
  51. package/src/composables/useStyles.js +60 -60
  52. package/src/composables/useTextContent.js +113 -113
  53. package/src/main.js +19 -19
  54. package/tailwind.config.js +16 -16
  55. package/vite.config.js +36 -36
@@ -1,265 +1,265 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="UTF-8" />
6
- <link rel="icon" href="/favicon.ico" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
- <title>Slot - Paginar</title>
9
- </head>
10
-
11
- <style>
12
- #app {
13
- height: 100vh;
14
- }
15
- </style>
16
-
17
- <body>
18
- <div id="app">
19
- <paginate-content
20
- id="pagination-el"
21
- book-title="A Tale of Two Cities"
22
- >
23
- <div slot="header">
24
- <img src="https://sabia.pub/images/logo-mobile-dark.svg" style="height: 40px">
25
- </div>
26
- <div slot="content">
27
- <h2>
28
- CHAPTER III.<br>The Night Shadows
29
- </h2>
30
- <p class="pfirst"><span class="dropcap" style="font-size: 4.00em">A</span> wonderful fact to reflect upon, that
31
- every human creature is constituted
32
- to be that profound secret and mystery to every other. A solemn
33
- consideration, when I enter a great city by night, that every one of those
34
- darkly clustered houses encloses its own secret; that every room in every
35
- one of them encloses its own secret; that every beating heart in the
36
- hundreds of thousands of breasts there, is, in some of its imaginings, a
37
- secret to the heart nearest it! Something of the awfulness, even of Death
38
- itself, is referable to this. No more can I turn the leaves of this dear
39
- book that I loved, and vainly hope in time to read it all. No more can I
40
- look into the depths of this unfathomable water, wherein, as momentary
41
- lights glanced into it, I have had glimpses of buried treasure and other
42
- things submerged. It was appointed that the book should shut with a
43
- spring, for ever and for ever, when I had read but a page. It was
44
- appointed that the water should be locked in an eternal frost, when the
45
- light was playing on its surface, and I stood in ignorance on the shore.
46
- My friend is dead, my neighbour is dead, my love, the darling of my soul,
47
- is dead; it is the inexorable consolidation and perpetuation of the secret
48
- that was always in that individuality, and which I shall carry in mine to
49
- my life’s end. In any of the burial-places of this city through which I
50
- pass, is there a sleeper more inscrutable than its busy inhabitants are,
51
- in their innermost personality, to me, or than I am to them?
52
- </p>
53
- <p>
54
- As to this, his natural and not to be alienated inheritance, the messenger
55
- on horseback had exactly the same possessions as the King, the first
56
- Minister of State, or the richest merchant in London. So with the three
57
- passengers shut up in the narrow compass of one lumbering old mail coach;
58
- they were mysteries to one another, as complete as if each had been in his
59
- own coach and six, or his own coach and sixty, with the breadth of a
60
- county between him and the next.
61
- </p>
62
- <p>
63
- The messenger rode back at an easy trot, stopping pretty often at
64
- ale-houses by the way to drink, but evincing a tendency to keep his own
65
- counsel, and to keep his hat cocked over his eyes. He had eyes that
66
- assorted very well with that decoration, being of a surface black, with no
67
- depth in the colour or form, and much too near together—as if they
68
- were afraid of being found out in something, singly, if they kept too far
69
- apart. They had a sinister expression, under an old cocked-hat like a
70
- three-cornered spittoon, and over a great muffler for the chin and throat,
71
- which descended nearly to the wearer’s knees. When he stopped for drink,
72
- he moved this muffler with his left hand, only while he poured his liquor
73
- in with his right; as soon as that was done, he muffled again.
74
- </p>
75
- <p>
76
- “No, Jerry, no!” said the messenger, harping on one theme as he rode. “It
77
- wouldn’t do for you, Jerry. Jerry, you honest tradesman, it wouldn’t suit
78
- <i>your</i> line of business! Recalled—! Bust me if I don’t think
79
- he’d been a drinking!”
80
- </p>
81
- <p>
82
- His message perplexed his mind to that degree that he was fain, several
83
- times, to take off his hat to scratch his head. Except on the crown, which
84
- was raggedly bald, he had stiff, black hair, standing jaggedly all over
85
- it, and growing down hill almost to his broad, blunt nose. It was so like
86
- Smith’s work, so much more like the top of a strongly spiked wall than a
87
- head of hair, that the best of players at leap-frog might have declined
88
- him, as the most dangerous man in the world to go over.
89
- </p>
90
- <p>
91
- While he trotted back with the message he was to deliver to the night
92
- watchman in his box at the door of Tellson’s Bank, by Temple Bar, who was
93
- to deliver it to greater authorities within, the shadows of the night took
94
- such shapes to him as arose out of the message, and took such shapes to
95
- the mare as arose out of <i>her</i> private topics of uneasiness. They
96
- seemed to be numerous, for she shied at every shadow on the road.
97
- </p>
98
- <p>
99
- What time, the mail-coach lumbered, jolted, rattled, and bumped upon its
100
- tedious way, with its three fellow-inscrutables inside. To whom, likewise,
101
- the shadows of the night revealed themselves, in the forms their dozing
102
- eyes and wandering thoughts suggested.
103
- </p>
104
- <p>
105
- Tellson’s Bank had a run upon it in the mail. As the bank passenger—with
106
- an arm drawn through the leathern strap, which did what lay in it to keep
107
- him from pounding against the next passenger, and driving him into his
108
- corner, whenever the coach got a special jolt—nodded in his place,
109
- with half-shut eyes, the little coach-windows, and the coach-lamp dimly
110
- gleaming through them, and the bulky bundle of opposite passenger, became
111
- the bank, and did a great stroke of business. The rattle of the harness
112
- was the chink of money, and more drafts were honoured in five minutes than
113
- even Tellson’s, with all its foreign and home connection, ever paid in
114
- thrice the time. Then the strong-rooms underground, at Tellson’s, with
115
- such of their valuable stores and secrets as were known to the passenger
116
- (and it was not a little that he knew about them), opened before him, and
117
- he went in among them with the great keys and the feebly-burning candle,
118
- and found them safe, and strong, and sound, and still, just as he had last
119
- seen them.
120
- </p>
121
- <p>
122
- But, though the bank was almost always with him, and though the coach (in
123
- a confused way, like the presence of pain under an opiate) was always with
124
- him, there was another current of impression that never ceased to run, all
125
- through the night. He was on his way to dig some one out of a grave.
126
- </p>
127
- <p>
128
- Now, which of the multitude of faces that showed themselves before him was
129
- the true face of the buried person, the shadows of the night did not
130
- indicate; but they were all the faces of a man of five-and-forty by years,
131
- and they differed principally in the passions they expressed, and in the
132
- ghastliness of their worn and wasted state. Pride, contempt, defiance,
133
- stubbornness, submission, lamentation, succeeded one another; so did
134
- varieties of sunken cheek, cadaverous colour, emaciated hands and figures.
135
- But the face was in the main one face, and every head was prematurely
136
- white. A hundred times the dozing passenger inquired of this spectre:
137
- </p>
138
- <p>
139
- “Buried how long?”
140
- </p>
141
- <p>
142
- The answer was always the same: “Almost eighteen years.”
143
- </p>
144
- <p>
145
- “You had abandoned all hope of being dug out?”
146
- </p>
147
- <p>
148
- “Long ago.”
149
- </p>
150
- <p>
151
- “You know that you are recalled to life?”
152
- </p>
153
- <p>
154
- “They tell me so.”
155
- </p>
156
- <p>
157
- “I hope you care to live?”
158
- </p>
159
- <p>
160
- “I can’t say.”
161
- </p>
162
- <p>
163
- “Shall I show her to you? Will you come and see her?”
164
- </p>
165
- <p>
166
- The answers to this question were various and contradictory. Sometimes the
167
- broken reply was, “Wait! It would kill me if I saw her too soon.”
168
- Sometimes, it was given in a tender rain of tears, and then it was, “Take
169
- me to her.” Sometimes it was staring and bewildered, and then it was, “I
170
- don’t know her. I don’t understand.”
171
- </p>
172
- <p>
173
- After such imaginary discourse, the passenger in his fancy would dig, and
174
- dig, dig—now with a spade, now with a great key, now with his hands—to
175
- dig this wretched creature out. Got out at last, with earth hanging about
176
- his face and hair, he would suddenly fan away to dust. The passenger would
177
- then start to himself, and lower the window, to get the reality of mist
178
- and rain on his cheek.
179
- </p>
180
- <p>
181
- Yet even when his eyes were opened on the mist and rain, on the moving
182
- patch of light from the lamps, and the hedge at the roadside retreating by
183
- jerks, the night shadows outside the coach would fall into the train of
184
- the night shadows within. The real Banking-house by Temple Bar, the real
185
- business of the past day, the real strong rooms, the real express sent
186
- after him, and the real message returned, would all be there. Out of the
187
- midst of them, the ghostly face would rise, and he would accost it again.
188
- </p>
189
- <p>
190
- “Buried how long?”
191
- </p>
192
- <p>
193
- “Almost eighteen years.”
194
- </p>
195
- <p>
196
- “I hope you care to live?”
197
- </p>
198
- <p>
199
- “I can’t say.”
200
- </p>
201
- <p>
202
- Dig—dig—dig—until an impatient movement from one of the
203
- two passengers would admonish him to pull up the window, draw his arm
204
- securely through the leathern strap, and speculate upon the two slumbering
205
- forms, until his mind lost its hold of them, and they again slid away into
206
- the bank and the grave.
207
- </p>
208
- <p>
209
- “Buried how long?”
210
- </p>
211
- <p>
212
- “Almost eighteen years.”
213
- </p>
214
- <p>
215
- “You had abandoned all hope of being dug out?”
216
- </p>
217
- <p>
218
- “Long ago.”
219
- </p>
220
- <p>
221
- The words were still in his hearing as just spoken—distinctly in his
222
- hearing as ever spoken words had been in his life—when the weary
223
- passenger started to the consciousness of daylight, and found that the
224
- shadows of the night were gone.
225
- </p>
226
- <p>
227
- He lowered the window, and looked out at the rising sun. There was a ridge
228
- of ploughed land, with a plough upon it where it had been left last night
229
- when the horses were unyoked; beyond, a quiet coppice-wood, in which many
230
- leaves of burning red and golden yellow still remained upon the trees.
231
- Though the earth was cold and wet, the sky was clear, and the sun rose
232
- bright, placid, and beautiful.
233
- </p>
234
- <p>
235
- “Eighteen years!” said the passenger, looking at the sun. “Gracious
236
- Creator of day! To be buried alive for eighteen years!”
237
- </p>
238
-
239
-
240
- </div>
241
- </paginate-content>
242
- </div>
243
- <script>
244
- const settings = {
245
- baseFont: 'Verdana, sans-serif',
246
- }
247
-
248
- const content = {
249
- summary: [
250
- { title: 'Chapter 1', link: '/demo/slot/slot-chapter1.html' },
251
- { title: 'Chapter 2', link: '/demo/slot/slot-chapter2.html' },
252
- { title: 'Chapter 3', link: '/demo/slot/slot-chapter3.html' }
253
- ]
254
- }
255
-
256
- const paginationEl = document.getElementById('pagination-el')
257
- if (paginationEl) {
258
- paginationEl.setAttribute("reader-settings", JSON.stringify(settings))
259
- paginationEl.setAttribute("book-content", JSON.stringify(content))
260
- }
261
- </script>
262
- <script type="module" src="/src/main.js"></script>
263
-
264
- </body>
265
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8" />
6
+ <link rel="icon" href="/favicon.ico" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
+ <title>Slot - Paginar</title>
9
+ </head>
10
+
11
+ <style>
12
+ #app {
13
+ height: 100vh;
14
+ }
15
+ </style>
16
+
17
+ <body>
18
+ <div id="app">
19
+ <paginate-content
20
+ id="pagination-el"
21
+ book-title="A Tale of Two Cities"
22
+ >
23
+ <div slot="header">
24
+ <img src="https://sabia.pub/images/logo-mobile-dark.svg" style="height: 40px">
25
+ </div>
26
+ <div slot="content">
27
+ <h2>
28
+ CHAPTER III.<br>The Night Shadows
29
+ </h2>
30
+ <p class="pfirst"><span class="dropcap" style="font-size: 4.00em">A</span> wonderful fact to reflect upon, that
31
+ every human creature is constituted
32
+ to be that profound secret and mystery to every other. A solemn
33
+ consideration, when I enter a great city by night, that every one of those
34
+ darkly clustered houses encloses its own secret; that every room in every
35
+ one of them encloses its own secret; that every beating heart in the
36
+ hundreds of thousands of breasts there, is, in some of its imaginings, a
37
+ secret to the heart nearest it! Something of the awfulness, even of Death
38
+ itself, is referable to this. No more can I turn the leaves of this dear
39
+ book that I loved, and vainly hope in time to read it all. No more can I
40
+ look into the depths of this unfathomable water, wherein, as momentary
41
+ lights glanced into it, I have had glimpses of buried treasure and other
42
+ things submerged. It was appointed that the book should shut with a
43
+ spring, for ever and for ever, when I had read but a page. It was
44
+ appointed that the water should be locked in an eternal frost, when the
45
+ light was playing on its surface, and I stood in ignorance on the shore.
46
+ My friend is dead, my neighbour is dead, my love, the darling of my soul,
47
+ is dead; it is the inexorable consolidation and perpetuation of the secret
48
+ that was always in that individuality, and which I shall carry in mine to
49
+ my life’s end. In any of the burial-places of this city through which I
50
+ pass, is there a sleeper more inscrutable than its busy inhabitants are,
51
+ in their innermost personality, to me, or than I am to them?
52
+ </p>
53
+ <p>
54
+ As to this, his natural and not to be alienated inheritance, the messenger
55
+ on horseback had exactly the same possessions as the King, the first
56
+ Minister of State, or the richest merchant in London. So with the three
57
+ passengers shut up in the narrow compass of one lumbering old mail coach;
58
+ they were mysteries to one another, as complete as if each had been in his
59
+ own coach and six, or his own coach and sixty, with the breadth of a
60
+ county between him and the next.
61
+ </p>
62
+ <p>
63
+ The messenger rode back at an easy trot, stopping pretty often at
64
+ ale-houses by the way to drink, but evincing a tendency to keep his own
65
+ counsel, and to keep his hat cocked over his eyes. He had eyes that
66
+ assorted very well with that decoration, being of a surface black, with no
67
+ depth in the colour or form, and much too near together—as if they
68
+ were afraid of being found out in something, singly, if they kept too far
69
+ apart. They had a sinister expression, under an old cocked-hat like a
70
+ three-cornered spittoon, and over a great muffler for the chin and throat,
71
+ which descended nearly to the wearer’s knees. When he stopped for drink,
72
+ he moved this muffler with his left hand, only while he poured his liquor
73
+ in with his right; as soon as that was done, he muffled again.
74
+ </p>
75
+ <p>
76
+ “No, Jerry, no!” said the messenger, harping on one theme as he rode. “It
77
+ wouldn’t do for you, Jerry. Jerry, you honest tradesman, it wouldn’t suit
78
+ <i>your</i> line of business! Recalled—! Bust me if I don’t think
79
+ he’d been a drinking!”
80
+ </p>
81
+ <p>
82
+ His message perplexed his mind to that degree that he was fain, several
83
+ times, to take off his hat to scratch his head. Except on the crown, which
84
+ was raggedly bald, he had stiff, black hair, standing jaggedly all over
85
+ it, and growing down hill almost to his broad, blunt nose. It was so like
86
+ Smith’s work, so much more like the top of a strongly spiked wall than a
87
+ head of hair, that the best of players at leap-frog might have declined
88
+ him, as the most dangerous man in the world to go over.
89
+ </p>
90
+ <p>
91
+ While he trotted back with the message he was to deliver to the night
92
+ watchman in his box at the door of Tellson’s Bank, by Temple Bar, who was
93
+ to deliver it to greater authorities within, the shadows of the night took
94
+ such shapes to him as arose out of the message, and took such shapes to
95
+ the mare as arose out of <i>her</i> private topics of uneasiness. They
96
+ seemed to be numerous, for she shied at every shadow on the road.
97
+ </p>
98
+ <p>
99
+ What time, the mail-coach lumbered, jolted, rattled, and bumped upon its
100
+ tedious way, with its three fellow-inscrutables inside. To whom, likewise,
101
+ the shadows of the night revealed themselves, in the forms their dozing
102
+ eyes and wandering thoughts suggested.
103
+ </p>
104
+ <p>
105
+ Tellson’s Bank had a run upon it in the mail. As the bank passenger—with
106
+ an arm drawn through the leathern strap, which did what lay in it to keep
107
+ him from pounding against the next passenger, and driving him into his
108
+ corner, whenever the coach got a special jolt—nodded in his place,
109
+ with half-shut eyes, the little coach-windows, and the coach-lamp dimly
110
+ gleaming through them, and the bulky bundle of opposite passenger, became
111
+ the bank, and did a great stroke of business. The rattle of the harness
112
+ was the chink of money, and more drafts were honoured in five minutes than
113
+ even Tellson’s, with all its foreign and home connection, ever paid in
114
+ thrice the time. Then the strong-rooms underground, at Tellson’s, with
115
+ such of their valuable stores and secrets as were known to the passenger
116
+ (and it was not a little that he knew about them), opened before him, and
117
+ he went in among them with the great keys and the feebly-burning candle,
118
+ and found them safe, and strong, and sound, and still, just as he had last
119
+ seen them.
120
+ </p>
121
+ <p>
122
+ But, though the bank was almost always with him, and though the coach (in
123
+ a confused way, like the presence of pain under an opiate) was always with
124
+ him, there was another current of impression that never ceased to run, all
125
+ through the night. He was on his way to dig some one out of a grave.
126
+ </p>
127
+ <p>
128
+ Now, which of the multitude of faces that showed themselves before him was
129
+ the true face of the buried person, the shadows of the night did not
130
+ indicate; but they were all the faces of a man of five-and-forty by years,
131
+ and they differed principally in the passions they expressed, and in the
132
+ ghastliness of their worn and wasted state. Pride, contempt, defiance,
133
+ stubbornness, submission, lamentation, succeeded one another; so did
134
+ varieties of sunken cheek, cadaverous colour, emaciated hands and figures.
135
+ But the face was in the main one face, and every head was prematurely
136
+ white. A hundred times the dozing passenger inquired of this spectre:
137
+ </p>
138
+ <p>
139
+ “Buried how long?”
140
+ </p>
141
+ <p>
142
+ The answer was always the same: “Almost eighteen years.”
143
+ </p>
144
+ <p>
145
+ “You had abandoned all hope of being dug out?”
146
+ </p>
147
+ <p>
148
+ “Long ago.”
149
+ </p>
150
+ <p>
151
+ “You know that you are recalled to life?”
152
+ </p>
153
+ <p>
154
+ “They tell me so.”
155
+ </p>
156
+ <p>
157
+ “I hope you care to live?”
158
+ </p>
159
+ <p>
160
+ “I can’t say.”
161
+ </p>
162
+ <p>
163
+ “Shall I show her to you? Will you come and see her?”
164
+ </p>
165
+ <p>
166
+ The answers to this question were various and contradictory. Sometimes the
167
+ broken reply was, “Wait! It would kill me if I saw her too soon.”
168
+ Sometimes, it was given in a tender rain of tears, and then it was, “Take
169
+ me to her.” Sometimes it was staring and bewildered, and then it was, “I
170
+ don’t know her. I don’t understand.”
171
+ </p>
172
+ <p>
173
+ After such imaginary discourse, the passenger in his fancy would dig, and
174
+ dig, dig—now with a spade, now with a great key, now with his hands—to
175
+ dig this wretched creature out. Got out at last, with earth hanging about
176
+ his face and hair, he would suddenly fan away to dust. The passenger would
177
+ then start to himself, and lower the window, to get the reality of mist
178
+ and rain on his cheek.
179
+ </p>
180
+ <p>
181
+ Yet even when his eyes were opened on the mist and rain, on the moving
182
+ patch of light from the lamps, and the hedge at the roadside retreating by
183
+ jerks, the night shadows outside the coach would fall into the train of
184
+ the night shadows within. The real Banking-house by Temple Bar, the real
185
+ business of the past day, the real strong rooms, the real express sent
186
+ after him, and the real message returned, would all be there. Out of the
187
+ midst of them, the ghostly face would rise, and he would accost it again.
188
+ </p>
189
+ <p>
190
+ “Buried how long?”
191
+ </p>
192
+ <p>
193
+ “Almost eighteen years.”
194
+ </p>
195
+ <p>
196
+ “I hope you care to live?”
197
+ </p>
198
+ <p>
199
+ “I can’t say.”
200
+ </p>
201
+ <p>
202
+ Dig—dig—dig—until an impatient movement from one of the
203
+ two passengers would admonish him to pull up the window, draw his arm
204
+ securely through the leathern strap, and speculate upon the two slumbering
205
+ forms, until his mind lost its hold of them, and they again slid away into
206
+ the bank and the grave.
207
+ </p>
208
+ <p>
209
+ “Buried how long?”
210
+ </p>
211
+ <p>
212
+ “Almost eighteen years.”
213
+ </p>
214
+ <p>
215
+ “You had abandoned all hope of being dug out?”
216
+ </p>
217
+ <p>
218
+ “Long ago.”
219
+ </p>
220
+ <p>
221
+ The words were still in his hearing as just spoken—distinctly in his
222
+ hearing as ever spoken words had been in his life—when the weary
223
+ passenger started to the consciousness of daylight, and found that the
224
+ shadows of the night were gone.
225
+ </p>
226
+ <p>
227
+ He lowered the window, and looked out at the rising sun. There was a ridge
228
+ of ploughed land, with a plough upon it where it had been left last night
229
+ when the horses were unyoked; beyond, a quiet coppice-wood, in which many
230
+ leaves of burning red and golden yellow still remained upon the trees.
231
+ Though the earth was cold and wet, the sky was clear, and the sun rose
232
+ bright, placid, and beautiful.
233
+ </p>
234
+ <p>
235
+ “Eighteen years!” said the passenger, looking at the sun. “Gracious
236
+ Creator of day! To be buried alive for eighteen years!”
237
+ </p>
238
+
239
+
240
+ </div>
241
+ </paginate-content>
242
+ </div>
243
+ <script>
244
+ const settings = {
245
+ baseFont: 'Verdana, sans-serif',
246
+ }
247
+
248
+ const content = {
249
+ summary: [
250
+ { title: 'Chapter 1', link: '/demo/slot/slot-chapter1.html' },
251
+ { title: 'Chapter 2', link: '/demo/slot/slot-chapter2.html' },
252
+ { title: 'Chapter 3', link: '/demo/slot/slot-chapter3.html' }
253
+ ]
254
+ }
255
+
256
+ const paginationEl = document.getElementById('pagination-el')
257
+ if (paginationEl) {
258
+ paginationEl.setAttribute("reader-settings", JSON.stringify(settings))
259
+ paginationEl.setAttribute("book-content", JSON.stringify(content))
260
+ }
261
+ </script>
262
+ <script type="module" src="/src/main.js"></script>
263
+
264
+ </body>
265
+ </html>