From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Gavin <gavinslusher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
pandoc-discuss
<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Converting markdown to html not including image?
Date: Fri, 21 Aug 2020 11:56:35 -0700 [thread overview]
Message-ID: <m2zh6nbzfg.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <fdc3d446-c62c-4107-90a2-44ec892bef9bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Leading spaces are fine -- but if you have 4 or more, you
get an indented code block instead of an image.
Gavin <gavinslusher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> OK I'm posting my solution in case it helps anyone... as stupid as it was:
>
> Spaces. Make sure there are no leading spaces before the exclamation point.
>
> On Thursday, August 20, 2020 at 10:18:21 PM UTC-4 Gavin wrote:
>
>> Hi all,
>>
>> I've been testing out a simple conversion from a file written in markdown
>> into html, and for the life of me I can't figure out why pandoc isn't
>> converting my image. Everything else seems to convert just fine.
>>
>> Here's an the relevant syntax in my markdown file:
>>
>> ![test](
>> https://www.howtogeek.com/wp-content/uploads/2007/09/image70.png)
>>
>> The link is just an example for testing purposes. When I run the command:
>>
>> pandoc -s -o example.html example.md
>>
>> Everything works just fine *except* right in the html I have "![test](
>> https://www.howtogeek.com/wp-content/uploads/2007/09/image70.png)" not at
>> all converted.
>>
>> Any ideas on what I'm doing wrong?
>>
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/fdc3d446-c62c-4107-90a2-44ec892bef9bn%40googlegroups.com.
next prev parent reply other threads:[~2020-08-21 18:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 2:18 Gavin
[not found] ` <976c40c2-3180-4756-bcba-2a6ab7aa2bd4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-21 3:18 ` Gavin
[not found] ` <fdc3d446-c62c-4107-90a2-44ec892bef9bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-21 18:56 ` John MacFarlane [this message]
[not found] ` <m2zh6nbzfg.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-08-22 16:29 ` Gavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2zh6nbzfg.fsf@johnmacfarlane.net \
--to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
--cc=gavinslusher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).