Comments (1)
I found a reasonable workaround for this. If you have the standard 'images/' static path in your pelicanconf you can place the image there, then add a symlink to 'images' in the content directory where your notebook is located. Now the images will appear both in the jupyter notebook and in your website output because the relative path remains valid.
So for example, in shell:
cd content/data
ln -s ../../images
in your Jupyter notebook markdown cell:
![Poldrack et al., 2017](images/Poldrack_Scanning_2017.png)
and in your pelicanconf.py:
STATIC_PATHS = ["extra/CNAME", "extra/favicon.ico", "images", "extra/custom.css"]
from pelican-jupyter.
Related Issues (20)
- Visible cell numbers HOT 2
- Critical: IndexError: tuple index out of range
- Can't pass variables in pelicanconf.py
- Has the metadata file extension changed? HOT 2
- Issue with pelican 4.0.1 HOT 1
- IPYNB_FIX_CSS nukes markdown table headers HOT 1
- where to set IPYNB_USE_METACELL HOT 1
- HoloViews issue with requirejs
- not rendering notebooks every time (when there was no change)? HOT 2
- Hiding a notebook cell HOT 4
- Problem with < sign in equations
- Manual install of pelican_jupyter triggers TypeError: SubElement() argument 1 must be xml.etree.ElementTree.Element, not Element HOT 3
- SVG parsing faulty
- Plugin doesn't work with nbconvert >= 6.x HOT 25
- ENH: please add wheels
- ERROR: Could not process ipynb | basic HOT 2
- Metadata in first cell not working on windows
- Remove "In []" prompt HOT 1
- Tests are failing HOT 4
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 pelican-jupyter.