Comments (4)
I see you're on Windows. It's possible that the problem involves /
as a path separator? Does the image appear if you use \
instead of /
in the image path?
from pandoc.
This should work! I just did a small test and it worked fine.
You'll have to provide a complete test case we can run to duplicate the issue. (Not your whole book -- just pare things down to the minimum necessary to reproduce it, and give us all the files necessary.)
from pandoc.
Aha, that's it. When I use backslashes for image paths, it works. Thank you!
Any chance slash translation could be added as a feature? The Markdown editors I use, MarkdownPad 2 and Notepad++ with NppMarkdownPanel, and previewers 1218 Seer and QuickLook display images regardless of back/forward slash; guess that's why I didn't spot this as the solution earlier.
from pandoc.
I just realised, 1218 Seer uses Pandoc v1.16.0.2 under the hood, and when previewing Markdown files with linked images on Windows, it does the opposite to the issue I'm observing here with Pandoc v3.1.13: images linked with backslashes \
are not displayed, but images linked with forward slashes /
are displayed.
Although, on closer examination, I'm not sure if it's using Pandoc to render Markdown, as the plugin folder only contains scripts for DOCX and EPUB:
{
"name": "docx2md",
"suffix": ["docx","odt"],
"exec": "pandoc.exe -s \"*SEER_INPUT_PATH*\" -t markdown -o \"*SEER_OUTPUT_PATH*.md\""
}
{
"name": "epub2text",
"suffix": ["epub"],
"exec": "pandoc.exe -s \"*SEER_INPUT_PATH*\" -t plain -o \"*SEER_OUTPUT_PATH*.txt\""
}
from pandoc.
Related Issues (20)
- Allow empty/ default attributes in markdown codeblocks HOT 5
- Problem with html tags when converting to GFM-markdown HOT 1
- Comments with $-- do not work when output HTML HOT 2
- Reading CSV file returns incorrect line break content HOT 1
- Split table cutoff at bottom of page HOT 2
- Typst citations are unresponsive to csl style HOT 4
- RST section title including ".*" and without blank line after adornment characters wrongly renders as inline markup
- Typst: Strong emphasis function cannot take multiline variable HOT 2
- Leak in HTML parsing HOT 4
- Please tag pandoc `3.2` to `3.2.0` HOT 3
- Option to Link Images Rather Than Embed Them For ODT HOT 1
- Feature Request: Support for East Asian Language Tags in DOCX Output HOT 3
- ConTeXt backend crashes unnecessarily
- PDF to Markdown HOT 1
- Unexcepted escape seq in typst template. HOT 13
- Regression: `alerts` extension not working HOT 6
- Non-dropping particles in authors' names apparently not properly handled when using .bib files, but properly handled if using a .json HOT 8
- Issue with `--metadata-file` Handling Multiline String Metadata in Pandoc 3.2-nightly-2024-05-30 HOT 1
- Fenced block quotes HOT 1
- docx comments on tracked-changes insertions not handled properly HOT 6
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 pandoc.