From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28645 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Staal Newsgroups: gmane.text.pandoc Subject: Re: Converting Markdown to HTML generates unexpected html tags Date: Thu, 17 Jun 2021 13:38:24 -0400 Message-ID: <6c7b0012-6f63-6cd7-693c-b19e9ef0a9fd@usa.net> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17949"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCGYLPE23UARBEURV2DAMGQEMDB4HDQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 17 19:38:28 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f56.google.com ([209.85.161.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ltvyF-0004M2-Uy for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 17 Jun 2021 19:38:27 +0200 Original-Received: by mail-oo1-f56.google.com with SMTP id t4-20020a4ad0a40000b029024b375bc2cesf1086073oor.14 for ; Thu, 17 Jun 2021 10:38:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623951507; cv=pass; d=google.com; s=arc-20160816; b=mXiUQLMND8A1k1cM1wClgkkf0ZUD7SIEHK9kW2GZcPbjoG8cLQ72bIofIxtJNEVD5D Gn2JyLshSr+hspJBTM0SZHxtEp2uYAMOxHcpc5Ik8U91Khba3hqJ34dw992bSdg7YUnK 6UScKTi/WYryU+IfPNaoeEHvXkLIkgpmQCC9MlsK5pnAOq282/ay6d+MF2lVucuO9p4H sdRN/RDrc7QPt55WZ45qvQXeDqIlbvgvWm5/FO6EO1ZbJ3EQwei4Dwacmbx9J8Zj6NG8 ZuKkIWilpmKOIm7T03hucOw1cG/X+wWcQT7K2FMVz65JGHNMOpMjreoqYaRo45/3jqHU VOTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:sender:dkim-signature; bh=U3q7LjImU7WlvmltiVXhA0FivhCNbQDs1K9W2nV6dxs=; b=tSLMNqQfXPS5Q3eX4X8zHI2gwCGXnPO8837EjMNLGew/Hr9nvJr9cQwCkTEO9ov56w uZzWCSdRILCB6yZxBCmWiLmYqZvbbByf8/bCOG3bBaDN0coimLvA2csVLFd1IlYZK0Uy jzR5oVvawE0wsWmvEij6GqAp+/WYNAW/uEfWkLi497bByY6OwlMKC43CT9x8Hw67m96L VgxZdPAkhf7BDNMUQdUfeqkaBTZuYCfGuW09ms0bzlG5ZnXSA5xHe2hxrNW5b43qdFcn scxfG4+dLMBW1+5WkwzLy5nOd7/A/iNLkQ01rJBE9QuBxTGx0iju5UtT1V6AtFFlPLK2 GfNw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=U3q7LjImU7WlvmltiVXhA0FivhCNbQDs1K9W2nV6dxs=; b=SB5FmUFhL9+mb2b5ue8kk182FgvHvihqvTZeGsswkhwujCm4cdioteTJVxrT7eSFPG 5Fl69aqOSMgrL6xGS/kzcR7gniihGmt9gF1HkvFHOuN56gA9EKI1QO8s3f3cGUpN/UcT WrdjnmjN16iDCHvKE1u3OkqQEY6X9fZwIcfotLhIndAUoA23pwdPRlH+yIdZ3rB/WTF5 lXWdhTYdKAiv6u9MXSy658Tgppr4JppJbVvE8r7z5HeykpdQVBApul08OWMl/gWZZuof vnLfWesKDMVjnUq+IEV7eAct+w5v1IFoi6F6xrYIbWKZGZR9G+emgVMp0r8j2sY+8JZc 5Tyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=U3q7LjImU7WlvmltiVXhA0FivhCNbQDs1K9W2nV6dxs=; b=UdcPSg3Smf0wAAvirIxEjQZlSMBpwXpI1TI9zmqUIg6aX0AuQyPB+0aUuDjjRpu/YZ 0OJlGDXC+ZLb9UijO5xsAV8d4lr4H7pWGK7YRTLo11Ka57I+jPG+BegwboWQqKoP5tXx 6a7dBAtpUCJu4Yd+FxS8o5fsijA0MXq9KXEZ4cfjDSnCKy326TJI8SXrC6QivTMGaCMS /+DQoeRxhBdxowdQQLXgEg5fTgd9QfCOnzzFzYywQqMT592/RHMfKFHja27VIhYMfH8V yDcWCTXCfTCda8Sqv2o8dkB8F8J7uYGZ4cjA Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532mSelDrAb88hhF4qYYitUblgLb0Oel3J2bFSFMAGN+wmL7nDxy KA4MqyjDbyZrsvYeeHU5nTo= X-Google-Smtp-Source: ABdhPJy1iC4zeMR4y3UKGaOf0BmtNXKFrbrz1/VLzicvAV0oUvnPpyLu7F6CS2JPbatIOl+ckiyThw== X-Received: by 2002:a4a:9b99:: with SMTP id x25mr5540239ooj.85.1623951507029; Thu, 17 Jun 2021 10:38:27 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:7d11:: with SMTP id v17ls3158495otn.3.gmail; Thu, 17 Jun 2021 10:38:25 -0700 (PDT) X-Received: by 2002:a05:6830:cd:: with SMTP id x13mr5702345oto.166.1623951505880; Thu, 17 Jun 2021 10:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623951505; cv=none; d=google.com; s=arc-20160816; b=g69MjAKbxBh85McEz4nzbqkaoEf/2gWapWBVTPEjGo1IfBscMewjIo1zF3WzbYOUba hof88uxS8VK4UY0+gzblfPlTPDieW3RddmmqVH/PLjSIEFCRpyoZsfRd1IIyDkdvTbOb 2ZZiJhUygFq5UegBMhOwWfyzcAmECVIiCXtIdqVDuWnwwYBblYNYnlL040HWzYQc4KYg 400lU7q2BcrjJjPR6PkuJGDI/3ljtrHzXdgTvNrulBDWaDfl9YOS2L//DybPVZDvnkOf QMwiTQR/4WVpraJBj0f3QJTLWfhxLYZFJHtBVbWyUqeh3MTAIqZTehQ9mvMzJXwIvkT2 btCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=PrNv2Vb7jHgHWRZRfTk0oF5DYGRsio/VSRRGqOMznvU=; b=ORm9zJWnw4KjqkbCmyKF3SnNha5ZwcjxcyUH7W+0sGKQsX0FJpuc1ttmEpH7xnlzSl dh6VaIsN6SDrYjj3oD8bIt/z5Qr6YXOz5/tFdRWcz6gT+0RTi0onQkEaoMBlotqlNSta fBGJZt0G2KnCQc0oEptK6AzEHC7GAWEqA7tkBit2mlg1PBX8vgbK6xLcn5eYxTUcBDj+ JssxQn4bp2e5K4EfdpSRhtAG7m0QSo8hFl4VE+tqOoES3yxzKl3Db5dpTr+HqymwfrRf 3gCF9tnEnPVXiVGzXO+33BuZjmV1hIPf9FhREtipFn8t0Pow0ziBYUi1qKCFJ3BvVtIF EJgw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net Original-Received: from mail.magehandbook.com (static-71-191-170-84.washdc.fios.verizon.net. [71.191.170.84]) by gmr-mx.google.com with ESMTP id k18si787358otj.1.2021.06.17.10.38.25 for ; Thu, 17 Jun 2021 10:38:25 -0700 (PDT) Received-SPF: neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) client-ip=71.191.170.84; Original-Received: from MacBook-Pro.fios-router.home (unknown [192.168.1.27]) by mail.magehandbook.com (Postfix) with ESMTP id 4G5Tmc4DT3z4pp for ; Thu, 17 Jun 2021 13:38:24 -0400 (EDT) In-Reply-To: Content-Language: en-US X-Original-Sender: DStaal-Jdbf3xiKgS8@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 71.191.170.84 is neither permitted nor denied by domain of dstaal-Jdbf3xiKgS8@public.gmane.org) smtp.mailfrom=DStaal-Jdbf3xiKgS8@public.gmane.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usa.net 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:28645 Archived-At: On 6/17/21 10:21 AM, James wrote: > I am new in using pandoc and I am trying to convert a markdown document= =20 > to HTML. Inside it I have a bunch of html tags to sort out 2 images into= =20 > two side by side columns. However when I convert it from Markdown to=20 > HTML the tags changes to
 tags. Is this normal? Am I=20
> missing anything out? Below is what I meant.
>=20
>  From in Markdown
>=20
> 
> =C2=A0
> =C2=A0 =C2=A0 > =C2=A0
> =C2=A0
> =C2=A0 =C2=A0 > =C2=A0
>
>=20 Your problem here is the indentation - for the img tags you're indenting=20 by 4 spaces, which by Markdown rules is a verbatim code block: https://pandoc.org/MANUAL.html#indented-code-blocks Just remove the indentation at the beginning of the lines and you'll be=20 fine. Daniel T. Staal --=20 --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- --=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 e= mail 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/6c7b0012-6f63-6cd7-693c-b19e9ef0a9fd%40usa.net.