Comments (5)
Alpine.js is good.
We aim to less dependency and light weight file size, and get maintanceable.
Probably, React or Vue is too rich for HonKit's theme.
Docusaurus, VuePress, and @nuxt/content is suitable for rich web book.
honkit pdf
or honkit epub
compatibility is difficult case.
We might want to create new (default?) theme instead of drop jQuery from default theme, because I do not how many GitBook plugins depened on jQuery. #57
honkit/packages/@honkit/theme-default/src/js/core/index.js
Lines 34 to 37 in 025344d
Theme is a plugin. so We and User can replace default theme with another theme.
Move this issue to #57
from honkit.
Maybe, It will break plugins...
from honkit.
How would you feel about leveraging something like Alpine.js? 7kb gzipped and would probably cover the majority of the use cases:
- binding to arrow keys
- dropdowns
- toggling sidebars
Would also mean we can drop the whole "js" directory (with Alpine I think we could write most of the toggling logic right in the HTML markup)
from honkit.
Makes sense, worth closing this issue maybe?
from honkit.
Ok. close this issue. → Move to #57
from honkit.
Related Issues (20)
- can not use in nodejs v16.7.0:"disqus" is not found
- Template escaping doesn't work in included adoc files HOT 2
- Issue with rendering tables within lists HOT 2
- error when generating pdf on mac HOT 1
- code blocks not getting syntax highlighted HOT 2
- update to highlight.js v11
- Error occured of "include file not found" by using asciidoc include directive. HOT 2
- Docker: use Node.js 18
- Drop to support Node.js 14
- theme-default: Deprivation of focus when loading the page. HOT 1
- `honkit server` throw an error when delete watched file
- Broken link HOT 1
- Plugin's resources for a multilingual book overridden unexpectedly HOT 1
- Images broken when generating pdf or epub, website version is ok HOT 3
- I set the language parameter of book.json to "zh", but the displayed content is not Simplified Chinese HOT 1
- LaTeX-incompatible input and strict mode is set to 'warn': Unrecognized Unicode character "–" (8211) [unknownSymbol] HOT 2
- error with export pdf
- Page URLs have .html suffix
- Block conflict with multiple plugins
- How to fix Error: Unknown language: "assembly"?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from honkit.