Giter Club home page Giter Club logo

Comments (5)

azu avatar azu commented on May 29, 2024 1

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

window.gitbook = gitbook;
window.$ = $;
window.jQuery = $;
window.require = function (mods, fn) {

Theme is a plugin. so We and User can replace default theme with another theme.

Move this issue to #57

from honkit.

azu avatar azu commented on May 29, 2024

Maybe, It will break plugins...

from honkit.

HugoDF avatar HugoDF commented on May 29, 2024

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.

HugoDF avatar HugoDF commented on May 29, 2024

Makes sense, worth closing this issue maybe?

from honkit.

azu avatar azu commented on May 29, 2024

Ok. close this issue. → Move to #57

from honkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.