Comments (14)
I agree... I thought about this before... we should find a way to provide the user with a nice UI in the notebook to config a lot of things... probably the notebook metadata is the place to embed this info... maybe under a slideshow_config key, or something else...
from rise.
Currently, what is the startup file responsible for theme configuration? I tried adding the code in the README under the .ipython/profile_julia/startup/
directory but it didn't work. I think it's being executed before RISE, is that correct?
from rise.
You only need to run the snippet of code in the README once... with a python kernel... or in any python interpreter (we prefer ipython ;-). This will generate a JSON file in your default profile which stores the config you want, check .ipython/profile_default/nbconfig/livereveal.json
So you have to be aware that:
- Use the default profile of modify the snippet to store the config in your desired profile (you can pass a profile parameter to the ConfigManager)
- You could potentially write the snippet in Julia to write the needed config file, but it is easy just to use the python one...
Hope it helps and let me know if you need more assistance...
from rise.
@damianavila, thank you for the clarification. The file is created under .ipython/profile_default/nbconfig/livereveal.json
but I cannot see any change when using the Python kernel and default IPyhon profile.
I passed a profile
parameter to the ConfigManager
but it doesn't affect the files under .ipython/profile_julia/
. What I'm doing wrong?
from rise.
I think you need to pass it a path to profile_dir
instead of just a profile name. We're getting rid of named profiles when we split the notebook parts to the name Jupyter anyway.
from rise.
Thanks @takluyver, I'm waiting for this transition to happen. The thing is that even for the Python kernel, the theme change is not taking effect.
from rise.
How are you starting the notebook? If you're running it with the julia profile, it won't load any config from the default profile. Kernels do not affect this.
from rise.
I'm starting the notebook as usual with ipython notebook
assuming the default reveal.js
themes are installed somewhere.
I can confirm the livereveal.json
is under the profile_default/nbconfig
directory.
from rise.
Can you post the content of the livereveal.json
file?
from rise.
Sure, the content is:
{
"theme": "black",
"start_slideshow_at": "selected"
}
from rise.
Well, can you try with other theme like sky
or serif
, the black themes are not compatible with RISE yet beceause of conflicting css between reveal.js css and ipython css...
from rise.
from rise.
All the "whity" ones (simple, sky, serif, etc) should work without major problems... the "darker" ones needs probably some custom css to make them work...
from rise.
#156 closed this one.
from rise.
Related Issues (20)
- Weird layout when commands output large amounts of text HOT 6
- The slide does not adjust the height of a cell. Rather, it cuts down the view without enabling the scroll bar. HOT 3
- Vertical scrollbar not exported to HTML HOT 4
- Is it possible to remove left padding from code output cells? HOT 6
- RISE and Jupyterhub 3.x HOT 1
- Conda installation fails HOT 5
- Create a jupyter-slides (name to be discussed ;-) organization to house several Jupyter slideshows projects HOT 7
- Theme text color gets overwritten
- Missing example: header-footer.ipynb HOT 1
- Cannot autolaunch slideshow in Google Cloud Platform (GCP)
- Expand output cells to use available vertical space HOT 5
- Possible duplicate: Is there a way to edit settings for individual cells/slides, rather than for the entire notebook? HOT 2
- Lost custom css style when downloading as reveal.js slides html HOT 1
- Does this module allow interactive blocks? HOT 1
- RISE not showing because install uses notebook version 7 HOT 5
- RISE is obsolete and this should be made clear in the doc - redirect to jupyterlab-rise HOT 1
- RISE & Jupyter Notebook 7 HOT 1
- link to the documntation in read me file is broken
- Scrolling not activated "on the fly" when executing cell with an output making the slide longer.
- Searching for a workaround : is it possible to make scrollbar systematically present even on slides too small for it to have a use ? HOT 1
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 rise.