-
Notifications
You must be signed in to change notification settings - Fork 17
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
A better ipynb->html template #89
Comments
All templates have been re-written ... now we need a TOC template. |
Cool -- is this page now on the new template? I noticed there seems unwanted space at the end of some of the long code cells. |
I have not figured out this problem yet. The extra space is added as a min-height of the input cell so that when the cells are rendered by codemirror, the actual cell height would not change and "shake" the page. However, it has been difficult to estimate this height from number of rows so the min height can be too big for long code. Still working on it though. |
Page updated. Should be better but might shake slightly.... will see. For TOC, need to work with http://gregfranko.com/jquery.tocify.js/. |
It looks nice! I was not sure if I can see the shake, though. The new TOC looks a lot cooler! But seems tricky to get it work with the search bar, right? |
Three templates are added:
TOCs added to examples: https://vatlab.github.io/sos-docs/doc/examples/RNASeqDE.html |
Great. Is the level of displayed TOC controlled by one of the template options? The example tocify page can display, when clicked on, more detailed level of headers. Wondering if that's controlled by some options. |
I just used all default options of tocify. You can explore the options and adjust css and test them by pointing directly to the template file (e.g. |
I am reopening this ticket, because I received a (workflowr) report from my colleague, which is a enjoyable read. https://willwerscheid.github.io/MASHvFLASH/MASHvFLASHnn2.html I think what has helped the most is the I believe workflowr simply uses bootstrap templates. Is it something we can adopt? |
The |
Seems interesting! Will take a look at it on weekend! |
is essentially calling
with a default template that
Use pygments to generate static syntax hilighting. It serves its purpose but does not show language-specific highlighting or interpolated texts (effect of
expand=True
). It does not show language selector box either.No TOC, which seems to be useful to have in most cases.
Given that we already have templates for our online documentation that uses codemirror and has a toc, perhaps we should provide a better default template....
The text was updated successfully, but these errors were encountered: