-
Notifications
You must be signed in to change notification settings - Fork 7
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
Suggestions #43
Comments
Thanks for reaching out, providing suggestions, and offerring help. let me try to address them one by one:
If by that you mean to not having an entry numbered, you can do it with
this is not currently doable but it could be done, there is a similar feature in mdbook (called part title see here), which would add a non clickable section element to the top (only top level it seems). We could do something similar or work differently. I will open an issue (edit: #45) to discuss this further and give you pointers to source.
Note: I am noticing only now that favicon might be broken on Mac (I used to develop only on windows). Might this be your case (we should open an issue for it)? otherwise below the explanation. Documentation is definitely one of the areas of needed improvement, but do not hesitate to reach out for questions about cases like this. How the favicon can be set is visible in these lines in document mustache template:
by default nimibook uses the whale emoji favicon as used by Nimib and it sets the default in this line which is then used by the For a single document you would override this by adding after nb.context["favicon_escaped"] = ""
nb.context["favicon_svg"] = true You will also need to add the a file named In general this is impractical to do for all documents, so in order to override a default for the whole book you should define a
You mean the title of the tab (the one that is set in title element in head of html)? this can be changed through
This is something that should be made available both for Nimib and nimibook and related to the fact of make headers linkable (see issue pietroppeter/nimib#58). As mentioned in that issue, currently cheatsheet example provides a workaround on how to implement an inline toc. The official way will come after I complete my work on pietroppeter/nimib#35 (which I shall soon resume).
I think it should already work but we should definitely add examples of that in the documentation. Once you know the folder structure you should be able to link for example to Table of Contents DSL from Entry in nested section using something like |
Thanks for clarifying some things for me!
I had an additional thought after posting this. Something annoying about looking at code on published notebooks and markdown documents is it is necessary to copy and paste code from different sections before trying to run it. A command like |
created issues for the stuff mentioned above (#44, #45)
could be done: #47
agree: #46
In nimib we have a show source which shows the source of the notebook (with all nimib commands). in nimibook this is not there, which is kind of a pity. what you ask though, if I understand is different, and it is about collecting all snippets of code and have the possibility to show it to the user for a better copy and paste. Apart the fact that we should have a copy and paste icon on every piece of code (feature for nimib), I think for the moment I would prefer to let the user build its own way of doing this, it should be rather straightforward (at the end of document you collect all code in previous code blocks and then add a new code block with just |
I've used nimibook for a project recently (frogcap.com) and I liked it quite a bit.
I had a few ideas that I think could be valuable additions. I'd be happy to try and work on some of these at some point if any of these ideas would be accepted.
The text was updated successfully, but these errors were encountered: