https://github.com/daniel-j/sigil-plugin-kepub-output
https://github.com/daniel-j/sigil-plugin-kepub-output
kepub sigil-plugin
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/daniel-j/sigil-plugin-kepub-output
- Owner: daniel-j
- Created: 2016-12-16T14:20:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-16T23:25:25.000Z (over 8 years ago)
- Last Synced: 2024-12-29T01:29:46.452Z (5 months ago)
- Topics: kepub, sigil-plugin
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KePub Output Sigil Plugin
This output plugin adds kobo spans in all xhtml files, to every sentence. This is to make to the Kobo reader remember how far you've read into a chapter and it also enables annotating and bookmarking.
When you've ran the plugin, it asks where you want to save it.
It's based code from the Calibre [KePub Output Plugin](https://github.com/jgoguen/calibre-kobo-driver), all credit goes to [jgoguen](https://github.com/jgoguen). I modified it to work in Python 3.
Build (zip) the plugin by running `make`.
## Example
### Input
```But why? Nobody really knew what was outside, if there was anything out there at all. Historical books suggested the world outside was blasted, lifeless and poisonous. That was, at least, the common and logical assumption. But a ghost story somepony told at my first (and only) slumber party had given me horrible nightmares and still lurked in the shadows of my head: a tale of a pony who somehow got the Stable door open and stepped outside… only to find out that there was no outside! Just a great nothingness that whisked the pony away, devouring her soul so that she was nothingness too.
```### Output
```But why? Nobody really knew what was outside, if there was anything out there at all. Historical books suggested the world outside was blasted, lifeless and poisonous. That was, at least, the common and logical assumption. But a ghost story somepony told at my first (and only) slumber party had given me horrible nightmares and still lurked in the shadows of my head: a tale of a pony who somehow got the Stable door open and stepped outside… only to find out that there was no outside! Just a great nothingness that whisked the pony away, devouring her soul so that she was nothingness too.
```
(Snippet from first chapter of [Fallout: Equestria](https://www.fimfiction.net/story/119190/fallout-equestria))