-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images are not included with HtML export #138
Comments
Same problem, even though I added the pandoc path to my config. Don't know what is happening. |
Not sure where I read it, but aparently Obsidians default image markup is not proper Markdown and is not compatable with pandoc. |
I believe you are incorrect on this point. From what I can see Obsidian.md follows the standard to the letter if you don't use wiki formatting. But even if it deviates slightly, I wonder if it would be hard to add support for this minor syntax change in the plugin outside of pandoc. |
@wealthychef1 I'll take back if this is correct Markdown or not, looks like it is from your reference. My initial searches on this issue kept bringing up threads with no clear answers (like this one). Trick seems to be:
Follow the links above for more discussion. |
Right, I get it.
I did but now I'm getting a new error when I try to export in version 1.0. In the console I see this, which I guess github refuses to wrap, sorry about the long lines: cmd: /opt/local/bin/pandoc -f markdown --resource-path="/Volumes/2_TB_SSD_external/Projects_2TB/computers-and-geekery/projects and languages/Obsidian development/wealthyvault/Knowledge/Politics Economics and History/US Electoral Politics/Politicians" --resource-path="assets" --embed-resources --standalone --metadata title="Alexandria Ocasio-Cortez or AOC" -s -o "/Users/rcook/Downloads/Alexandria Ocasio-Cortez or AOC.pdf" -t pdf "/Volumes/2_TB_SSD_external/Projects_2TB/computers-and-geekery/projects and languages/Obsidian development/wealthyvault/Knowledge/Politics Economics and History/US Electoral Politics/Politicians/Alexandria Ocasio-Cortez or AOC.md"
error: Command failed: /opt/local/bin/pandoc -f markdown --resource-path="/Volumes/2_TB_SSD_external/Projects_2TB/computers-and-geekery/projects and languages/Obsidian development/wealthyvault/Knowledge/Politics Economics and History/US Electoral Politics/Politicians" --resource-path="assets" --embed-resources --standalone --metadata title="Alexandria Ocasio-Cortez or AOC" -s -o "/Users/rcook/Downloads/Alexandria Ocasio-Cortez or AOC.pdf" -t pdf "/Volumes/2_TB_SSD_external/Projects_2TB/computers-and-geekery/projects and languages/Obsidian development/wealthyvault/Knowledge/Politics Economics and History/US Electoral Politics/Politicians/Alexandria Ocasio-Cortez or AOC.md"
pandoc: pdflatex: createProcess: posix_spawnp: illegal operation (Inappropriate ioctl for device) |
At the minute I am looking at a similar issue. I get no images but they are referenced in the HTML. I noticed my exported HTML was lacking variables in the CSS Lines 91 to 93 in 68ff9e3
|
A few more notes on various things I found:
|
Found the solutionI had the same problem, and I think I found the solution. I recorded a video to help you out. Here is the link: https://youtu.be/pKawg6mPWE4 |
From your path:
Yeah I think the issue now is the folders with spaces.. the first in your path being "projects and languages". |
You are the man. This worked for me! |
Some kind of warning about attachments with spaces in them would be useful! Renaming all my attachments worked... |
Hello, I'm trying to export this file from my vault as HTML.
The images are not included in the resulting HTML output.
I feel like I must be making a mistake. Can someone point out my error? Thank you.
Why is it that the "export as HTML" option says "(without Pandoc)"?
The text was updated successfully, but these errors were encountered: