From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25965 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gavin Newsgroups: gmane.text.pandoc Subject: Re: Converting markdown to html not including image? Date: Sat, 22 Aug 2020 09:29:19 -0700 (PDT) Message-ID: <7b748296-4276-48f6-9a4e-fae48c3a0df8n@googlegroups.com> References: <976c40c2-3180-4756-bcba-2a6ab7aa2bd4n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_320_704273942.1598113759393" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26630"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDU5NCMUZAKBBYMPQX5AKGQEI36JKQI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 22 18:29:24 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f63.google.com ([209.85.161.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k9WOS-0006nY-3I for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 22 Aug 2020 18:29:24 +0200 Original-Received: by mail-oo1-f63.google.com with SMTP id x9sf1514774oog.3 for ; Sat, 22 Aug 2020 09:29:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ZSICwnD+4fhY8FqLd88EiJOAJHv+4uCks+gxRZfTf8E=; b=ngCdt0RHrLZrklrF6ALg0TqLaxV+sEFQ8fWpEcdJEZqYJtyM8b6v95FxGasXPcfEh3 vnNfZxKup+W7srAfKfA/fDIW3vejpmno5CjulpP+CdCOQWBE9rPMkgSuimhnyQ46dIq3 W2jOVr1vinP/yTsI/O+hkSGh8YTL5O6+6Z9XFB9bRm+M/HyjN6xlF/K4nwBu+QjLR7VH N9QsjUk8QIGBMv5pfnbJbvU+zHd2M9/SZCUliQYbqoH34wg8SjvzYTSq2DdhmTt680Mh 4dqW7iow4k6XYMGHMVVb1i95oUAa0wfeGgXAsrYanO0yTGGMJ/zsYWBMu7NYkytSz/xw fYpA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=ZSICwnD+4fhY8FqLd88EiJOAJHv+4uCks+gxRZfTf8E=; b=EbpyuK5BkiIe88mp7qWgV7tTe5MQiHKpvugGAI6+6hE8Cxrig7lyQQ0xJSrdAPsIbD nXiO2jiesjpAW0Hpk3pv7g8Lsk7xIVBTrFkC8E+7H8RmHeupVbz3R3VWKJTwswdCX8CJ dmMHKeMYjeWftWvKtexUgy7y25D4MUottT8jhhKmkcRt8iKmtyLBXOHKjTs/TA5XTKCc SIf9oh+GyRw3KnAOXCt3kRCJvUJiSGJ23jOuCx3RyGHo9UlWuaW/nNseIWxxyumM9a3V WGcbJYXVTwjMn32pAEdIMMvoQ3jX5k8FmPdo6GTDn/bfFR/gDBbwF9HYf+xXlVXhI9eL tDrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=ZSICwnD+4fhY8FqLd88EiJOAJHv+4uCks+gxRZfTf8E=; b=XwcQXDXI0NNYq/Er7tyzlqc1iUnkDWwQ7fhzEfJhANkR5CUBRHYW0ZD529Z3Ktu2/X HAAos3oI8K5QHFXCAEErg9F9h/opOAGKAm18+LUJAgLhg0jFFtkp1WqsNbcWvsg2Rdmh zfXWb7MuCriQkBC7uKs8+dWVlsKCDWpxkE1rvAVGDdkoIRUiJMbZqjTXaWY/jU3VH6AZ yY9HYx++6ie3cFFBqvw64BW4GArrkDxaTmjPzyrdXLAqaMmWPW3nsSY6OvXahN3tSd9v 08ZgNRuGZIbXXgZahfe/HKEZD8XKWtZl0o2PKnTPzLneHW6WEHjcIL8gsYsf3Xg3V/dq yXGQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533UHoTf6431Xi6MKs/9WdHrezw7G13d5+Y7ozwVYQI5jK6sTrvu AebdLyBOFiRspl4cX2kTNrA= X-Google-Smtp-Source: ABdhPJxmhmeW5UM0QKcSBJpHrEoLPefNQmpiDghsBGG5hlkfZD2vW9UUnk0OK6xewGngqm4XrcHfMg== X-Received: by 2002:aca:d4d5:: with SMTP id l204mr5220339oig.70.1598113763075; Sat, 22 Aug 2020 09:29:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1f31:: with SMTP id e17ls1177527oth.2.gmail; Sat, 22 Aug 2020 09:29:20 -0700 (PDT) X-Received: by 2002:a05:6830:4b7:: with SMTP id l23mr5893782otd.35.1598113760444; Sat, 22 Aug 2020 09:29:20 -0700 (PDT) In-Reply-To: X-Original-Sender: GavinSlusher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:25965 Archived-At: ------=_Part_320_704273942.1598113759393 Content-Type: multipart/alternative; boundary="----=_Part_321_1548655664.1598113759393" ------=_Part_321_1548655664.1598113759393 Content-Type: text/plain; charset="UTF-8" Ahh, I see. Thanks for the clarification! On Friday, August 21, 2020 at 2:56:54 PM UTC-4 John MacFarlane wrote: > > Leading spaces are fine -- but if you have 4 or more, you > get an indented code block instead of an image. > > Gavin 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-discus...-/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 > . > -- 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/7b748296-4276-48f6-9a4e-fae48c3a0df8n%40googlegroups.com. ------=_Part_321_1548655664.1598113759393 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ahh, I see.  Thanks for the clarification!
On Friday, August 21, 2020 at 2:5= 6:54 PM UTC-4 John MacFarlane wrote:

Leading spaces are fine -- but if you have 4 or more, you
get an indented code block instead of an image.

Gavin <gavins...-Re5JQEeQqe8@public.gmane.org= m> writes:

> OK I'm posting my solution in case it helps anyone... as stupi= d as it was:
>
> Spaces. Make sure there are no leading spaces before the exclamati= on point.=20
>
> 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 writ= ten in markdown=20
>> into html, and for the life of me I can't figure out why p= andoc isn't=20
>> converting my image. Everything else seems to convert just fin= e.
>>
>> 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 t= he command:
>>
>> pandoc -s -o example.html example.md
>>
>> Everything works just fine *except* right in the html I have &= quot;![test](
>> https://www.howtogeek.com/= wp-content/uploads/2007/09/image70.png)" not at=20
>> all converted.
>>
>> Any ideas on what I'm doing wrong?
>>
>
> --=20
> 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-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/fdc3= d446-c62c-4107-90a2-44ec892bef9bn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/7b748296-4276-48f6-9a4e-fae48c3a0df8n%40googlegroups.= com.
------=_Part_321_1548655664.1598113759393-- ------=_Part_320_704273942.1598113759393--