Comments (8)
Pagefind is suitable for new search engine.
from honkit.
- OGP Support
- GitHub page link #116
from honkit.
Should use the prefers-color-scheme media query to set the default color scheme via CSS
from honkit.
We have added @honkit/honkit-plugin-theme
as experimental.
https://honkit.netlify.app/ it-self use this theme.
This is WIP.
This PR has removed all but what is necessary.
As a results,
- JS: 50kb + 50kb → 1.6kb
- CSS: 10kb + 2kb → 4kb+2kb
TODO
- Search Plugin
- Use CSS Variables
- Probably, drop to use less
- Think plugin systems
- Import maps will be suitable to this situation, I think
- Support Async Plugin Loading
- Island Architecture guideline
from honkit.
Was wondering if you had some pointers on how one could test this theme out on their own honkit setup?
I'm looking to removing the jquery dependency as I'm running into some CSP issues with the default theme.
from honkit.
@jeffrey-ng Please note that this is still experimental and therefore quite unstable.
(Probably Breaking changes are also made in the PATCH version.)
- install theme
npm @honkit/honkit-plugin-theme -D
- change
plugins
inbook.json
plugins: ["-theme-default", "-search", "-lunr", "-fontsettings", "@honkit/honkit-plugin-theme"]
Line 11 in d058ddf
from honkit.
Please note that this is still experimental and therefore quite unstable.
100% understand.
Assuming this should be npm install @honkit/honkit-plugin-theme -D
?
Had tried this originally but doesn't look like the package is published publicly.
✗ npm install @hontkit/hontkit-plugin-theme -D
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@hontkit%2fhontkit-plugin-theme - Not found
npm ERR! 404
npm ERR! 404 '@hontkit/hontkit-plugin-theme@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
from honkit.
Ah, I forgot to publish to npm.
I've published @honkit/honkit-plugin-theme
to npm.
https://github.com/honkit/honkit/releases/tag/v5.1.0
from honkit.
Related Issues (20)
- Template escaping doesn't work in included adoc files HOT 2
- Issue with rendering tables within lists HOT 3
- 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"?
- how to avoid changes from dollar mark to {% math_inline %} inside code blocks (KaTeX plugin)
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.