-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support other backends #2
Comments
Hi there @henryiii ✋ Thanks for your suggestion! Actually it wasn't the main goal of this plugin but would be cool to be able to put some nice colors in PDFs too. I have no idea how to do it though. I'll check that plugin and GitBook docs whenever I have some spare time. Again, thanks for your great comment. I appreciate 😉 |
First thing to do would be to at least remove the |
Sure. At our organization we don't use any backend (just the generated website) so we actually don't care about for the behavior. But you are more than right. I'll try to fix it 😉 |
The problem was that this plugin was built around page loads, which doesn't happen for PDFs. I've built a new version (rewritten completely except for |
Hi @henryiii, I think is better to update a project than split it and have two versions. Also, I'm not sure about some parts of your code and it will require proper tests. As I told you, I'll fix this, but right now I don't have the time. I'm focusing all my efforts in cucco. Once this is done (around July 5th) I'll start refactoring the code. Cheers. |
The problem with updating it is that I didn't want to keep backwards compatibility with the An example of this on a page: https://henryiii.gitbooks.io/goofit/goofit/goofit-installation.html |
Hi again @henryiii, If the code is broken or an enhancement is possible (e.g. GitBook syntax blocks) an issue is welcomed. As I said, I plan to fix this. Pull request are fine too, but given the impact of this change maybe an issue is the most appropriate thing. Having said this, I would appreciate if you unpublish the plugin from npm. This is totally up to you given the license, but would be nice to have a single plugin. Of course some attribution will me made to you in for your suggestions in the form of mention in the next release. Cheers. |
I'll look at finding a way to combine the plugins. The main features I'd like to retain (including the one listed at the top of the issue):
Edit: Presented PR, please review and advise. |
Correction: Now I've unpublished it. It's not trivial to remove a package from npm... |
Ping! It's been months, and this functionality is still not available except in my fork. I unpublished my new package assuming you were interested in maintaining this... My PR is still waiting. |
Republished |
The terminal plugin is great, but it doesn't work in ePub/PDF (didn't check mobi) backends. Would that be a possible to fix? Ace plugin is an example of one that colors multiple backends. Thanks for a great plugin!
The text was updated successfully, but these errors were encountered: