Comments (2)
Puuh, this was rather not so intuitive!
Everything is alright actually, the camo.blbla
is just Github stuff added. The data-canonical-src
tag tells you the original image. Basically the problem here is that you reference an image which needs authentication. Log out of Bitbucket and see if you can access the URL https://bitbucket.org/pacificdisastercenter/disasteraware-master-user-guide/raw/25d3aec045385c54b84ad90c88648cc9f75f3bba/images/1.2_figure_1.png. I can't let the plugin authenticate the URL for the image AFAIK.
Think I found a way to work around this in a series of experiments:
Don't take the image URL from the file itself, take it from the markdown on Bitbucket with right-click on the image itself and Save image address
. It should look smth like https://bytebucket.org/nilsnolde/test-wp-plugin/raw/75cae613d140954349185292bdd5acd29a1a4ebe/img/IMG_0138.jpg?token=6d1d5454701e6426eb7dfb0009038358ae72f9f0
. The important part being bytebucket.org
and the token
.
Now, I'm not sure how permanent that token
is, but I'd figure it won't expire, since it's a static link. Of course Atlassian has a shit documentation for Bitbucket, which doesn't include that. And thanks to not being open source no way of knowing.
If you use that link instead in your markdown source code it will work. Do let me know if it did pls.
If, against all expectations, that token indeed has an expiry date and will invalidate at some point, the most sustainable option would be to have a separate public image repository or use a proper delivery service.
from wordpress-markdown-git.
Just released 1.0.2:
https://wordpress.org/plugins/documents-from-git/
I added a "Troubleshooting" section describing this as well.
Closing, but feel free to open if anything unclear remains.
from wordpress-markdown-git.
Related Issues (20)
- 404 - Not Found for valid Jupyter notebook URLs HOT 13
- GitLab rate limited HOT 3
- Enable dynamic caching
- plugin does not respect dark mode HOT 4
- Small Typo on Readme. :)
- [feature request] support for gitlab wiki pages HOT 12
- WP plugin taking too long HOT 5
- Support for checkbox [x] HOT 3
- Doesn't update ipynb when git is updated. HOT 7
- [Feature request] Skip a given number of lines HOT 2
- Anchor links to headers don't work HOT 1
- Gitlab local API HOT 3
- since update: error message that I reached API call limit HOT 2
- Styles are not enqueued HOT 1
- installation on PHP8.0 HOT 3
- Accessibility with Gitlab markdown flavor HOT 2
- Include a link to settings in plugin page
- Removing cache_ttl does not flush cache HOT 3
- Inline codeblocks not working correctly? HOT 2
- Deprecate this plugin HOT 5
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 wordpress-markdown-git.