Comments (2)
The best way to work with images in x0 is to use a CDN since we try to avoid dealing with them in the bundle. We currently have an undocumented cli to publish to our imgix fronted bucket you can use with: There are existing solutions to quickly offload publishing an image with a CLI:
npx @compositor/img ./path/to/image.png
Then you can use the returned url in place of the local image.
Edit: I mix up repos somehow
from mdx-docs.
Thanks @johno, that works. Haven't decided whether to go with mdx-go or -docs yet, might just draft in -go and build up the hosted site & port once images etc are finalized.
Also, loving these tools y'all.
from mdx-docs.
Related Issues (13)
- Fix basename for links
- Remove styled-components dependency HOT 1
- npm init docs? HOT 9
- Deploy to GH pages HOT 1
- Kick off New Deployment / Redeploy https://mdx-docs.now.sh/
- Error! , Dont't runting 'npm init docs' HOT 1
- Add option for react syntax highlighter
- Linked headings
- Add hierarchical SideNav component HOT 1
- next-mdx-docs fails on node 8.1.2
- Add default table styles to base theme
- NavLink active className
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 mdx-docs.