Comments (3)
Your screenshot is broken. Can you upload it again?
When you insert a local image, the path of image will be changed relative to the project path. So that when you serve the page on the web, the image path is correct. However, this will break image preview. It is a compromised decision.
from md-writer.
Ah that's funny, I did not mean to upload a photo to this conversation; it was the code used to display the image in the markdown: ![<alt>](./storyboard.png)
.
So this is expected behavior...
Can this be toggled, in order to get a better 'feel' of the document that is being written locally?
from md-writer.
Ah. The <alt>
is a bug and is fixed in commit 2842d26.
Resolving the image path is difficult, if you have your posts in _posts/
and images in images/
.
- in Markdown Preview, the image is relative to the path of the post. The path would be
../images/image.png
. - in Website, the image is relative to the directory of your site. The path would be
/images/image.png
.
from md-writer.
Related Issues (20)
- TOC automatic transcoding of Chinese into random code HOT 3
- spaces were deleted after saving a document HOT 1
- Blockquote is not applied from the beginning of the lines
- The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called. HOT 2
- TAB indent of list item stopped working HOT 20
- Subfolder Title as FrontMatter Category HOT 2
- Uncaught TypeError: Cannot read property 'map' of undefined HOT 1
- [Feature Request] Show heading-folding toggles always HOT 1
- Object.extname is deprecated
- [Feature request] Autocomplete unordered lists within ordered lists HOT 1
- Can you support vscode? HOT 1
- Add support for Hugo "Academic Theme" directory structure: /title-of-post/index.md HOT 1
- Insert image no longer picks a file name HOT 1
- Uncaught TypeError: clipboard.readImage is not a function HOT 1
- -
- Uncaught TypeError: dialog.showOpenDialogSync is not a function
- [Feature Request]: Port to VS Code
- {slug} does not replace space with slugSeparator used with siteImagesDir HOT 1
- HTMLDocument.registerElement is deprecated.
- Hitting enter in front of a dash makes unwanted indent
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 md-writer.