From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/19314 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: multi-line formatting with $ Date: Sun, 21 Jan 2018 16:59:03 -0800 Message-ID: <20180122005903.GB77076@Johns-MacBook-Pro.local> References: <0cc11c55-a18d-486a-9f7f-d01e68bce3b8@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed X-Trace: blaine.gmane.org 1516582646 10330 195.159.176.226 (22 Jan 2018 00:57:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 Jan 2018 00:57:26 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBZHOSTJQKGQECMFLDYA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jan 22 01:57:21 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f189.google.com ([209.85.223.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1edQQD-0001os-6w for gtp-pandoc-discuss@m.gmane.org; Mon, 22 Jan 2018 01:57:13 +0100 Original-Received: by mail-io0-f189.google.com with SMTP id 62sf6361661iow.16 for ; Sun, 21 Jan 2018 16:59:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1516582757; cv=pass; d=google.com; s=arc-20160816; b=vXmce/4IrY535agFedEstGoPvdBfd+yMU/VhAsSvCMxznPTEYt+ZEChy8xj/LRsmXf bzDf+8uLXkWpcnheKfsmWn0ZQg2BpTXYctvaTX7fartpbPbqc345SoZg8B9AnTd/7mLx EBDOn1P2tFHLZNkdPPz+5oXfNpZ5AVt8xJeHb7cV4Kk7OskDB6ZYW7TRtt6DFz1ytUDZ 5LrSePG8QPAsTNyki4MKQKmXyqoBbcWsWcMTKveeFO+i23AF1ibJqlmPFrLqfvfaziMx q5viaJCfLXAoQlMojADTOv5L2GV/yvTVTJdBnLIOJug14+4CT3WywOo10xXCnb1AQnFa e4Dg== 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:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=rtRCA1EMPkWYeID5+UqzDW+GdwRD8cyvbAaUvN+qKq0=; b=iBM89wU5v1OlL3wIK1/Qz603giURuWCNUko8X5D/C0d9NWCBx8+gFQMGovT77oe72i j3vM2xe3tDBGx06yWmOQ31N9CvolQ4Kem/PNdxxtO70ff2GgbHR/zRqggEiC1pzaNzCY AYhUG0eDSDVU0E7R05uxgGA9DCZIufY8lZxIXuDJBTH0WuB9U3I0b9PcYYH3iiJNT6/8 Ujsbci4CBlJWU8Jz2L07dH0j4nOmtYlGWXMpfdBhpQU+Mvoot1+fQHmX2Wq2bHc/4zwh ib9dueyIOL1wZXkwjd3ORaPWDOeGWXxQ7X+t30KFGXo/B062Y6XZ29q/WojipZVOaD4h ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xDY/UF6b; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent: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=rtRCA1EMPkWYeID5+UqzDW+GdwRD8cyvbAaUvN+qKq0=; b=jlBnIklprwuQjAsbAu/CTEmulicCuMwq5qIR9/ni1eoRy6SbvGDggZ2dBTN3St1FsK f/VhUnVT2R+M/39wEXqtBirO+0FiJ8Ofm0KKADpr26/fXoq8+mX4yL4mN2q0Z8Kbu+8T ao2YOH6zfpI8gMp3ZlBDk7mhYvlvQjO0ew2BTzkdxyC9KPKwcfFMpPfhyuGrBKA9MQmc +IOQEOcl3Imr0wwuPzY7gvZonnyRjAQZU5v52roc8dxqa5Wu7K1ylvfqGsiYSAGH+5EJ XQ6tHer6gjcgIeXwCcZrjhzrib+fwZadNk+7Z9d4MHvrP2oQFlrC5trVFAY2ki6mvfR7 9KdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent :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=rtRCA1EMPkWYeID5+UqzDW+GdwRD8cyvbAaUvN+qKq0=; b=Cl4r7feVTxj/UnpsAFNr3E1iv7M+/njUJjJW5kTD09KIU7XC6IseNXy0eJZnLpKVro 9m0BHYbXl01m1TA7OEYNaESj2GAXZYZqVShNk3U6fFSEZk3Z8fJ3Y/ieBfW94vBzQvrI mHP/mq3bwOn0ul2vZAAWNoIPK+xg+6gKAPN2OEId/5qfTOoSPaHPHQYC2alc/7gYxczw UVtiEDizEXwnIrbiU1JMbPyWgDBWPRp5ShGThSSbyFsXmJ6HWbyEJ6NwBok0A6lb+e6E VZ581ZBzF36EaqdclMOpTL93PguGQQ55Ln9hCbDq8eso4RgMFwUVI5A7ku8OtV8IYxzq Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AKwxytcIGENwgNMYKOesueCKUIrXgNKc1+Ljy6Ld66UZGJ2imOMmWGZ5 RBdQjhr47h5ehSZf4P5IUD0= X-Google-Smtp-Source: AH8x225X741TEQuL2cqwb8znr8iZ9GbhhwfCoHW/3OLBrf6F3wz9JJl1HXHk/OcAmvwayRBFJ7ONgA== X-Received: by 10.36.5.74 with SMTP id 71mr75269itl.4.1516582757471; Sun, 21 Jan 2018 16:59:17 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:8609:: with SMTP id f9-v6ls1502118plo.5.gmail; Sun, 21 Jan 2018 16:59:16 -0800 (PST) X-Received: by 10.99.96.134 with SMTP id u128mr1214763pgb.133.1516582756202; Sun, 21 Jan 2018 16:59:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516582756; cv=none; d=google.com; s=arc-20160816; b=paJHEpzkGAsh/fU2PRngsT9ALTA+7fAYENYHIfjJ9xCr7DhH9KQmIiIk3p92IbCdh+ XqVvsOn8G2OpCcHEhitCk8gF+lX47+sxOgAFhTllnkxbo0LeEQpHEdRuNRK+X0KAkEM0 F5uqAvqGVKughPjcD20KEJ0hr+9VqILK5yk02lNm2vUYskaXX5viM6QEtfA1rkJoS1/E l2vlym0pdc4B0tB9ehhTfNq6vgNcRpQhVTy7YAYOW0vuH4R0A6wX/hUAOKHq0p9wyz/T 4ndkDKLXj6JugzHW0JXHtQULJ0L+/1fakL/bOTZ1Vg8g3so2ENnIzAdNcve2OQOQp37D aUcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=qJKlPXsoYk4wuGY3HIwB8Dq0Mi03CBQuMDDh7O+JfbM=; b=lzBubHXYjlmLLCTOEOJDKk1m2iUUzhwD0Fe0DsY4B/LMwuB9mI6xgmow8SbYqZgbqX 8MKuKJOohbrSx7qNRNoN0AsRolaMh79mKxbZ4lJ+lX3dkSaBxVFA3BTFXypmxFDI28PP zx3CrI0vnFqZYjyNz43XzxoNjMv6hB3/PC9iDA//suHpixC8PK26opVfYMktVT1YlTS9 DrS+o9BTj9xJ7N0tJqBzZiO3JRSo6qPThlA9Jcz5b4mVjYjKHNI7kI79pzScsmFASRkl xNg02+WQejgXG+h4DdyR1au7qZZMERWeyd4ZAZ3Nu5WtLRtRLo/2XQds4ARQluIBaop/ 9T8g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xDY/UF6b; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com. [2607:f8b0:400e:c05::22e]) by gmr-mx.google.com with ESMTPS id z28si1078703pgc.0.2018.01.21.16.59.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jan 2018 16:59:16 -0800 (PST) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e as permitted sender) client-ip=2607:f8b0:400e:c05::22e; Original-Received: by mail-pg0-x22e.google.com with SMTP id n17so5799424pgf.10 for ; Sun, 21 Jan 2018 16:59:16 -0800 (PST) X-Received: by 10.99.114.30 with SMTP id n30mr5580837pgc.178.1516582755607; Sun, 21 Jan 2018 16:59:15 -0800 (PST) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id b8sm24766426pff.31.2018.01.21.16.59.14 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 21 Jan 2018 16:59:14 -0800 (PST) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 6ABAEA21C; Sun, 21 Jan 2018 19:59:03 -0500 (EST) Content-Disposition: inline In-Reply-To: <0cc11c55-a18d-486a-9f7f-d01e68bce3b8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=xDY/UF6b; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:19314 Archived-At: Probably the part between $'s is being interpreted as LaTeX math. You can disable this with pandoc -f markdown-tex_math_dollars But a better approach would be to put all of this in a fenced or indented code block; then you'll know that everything will be interpreted literally. It will also come out in a font that marks it as code. +++ gid000765-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [Jan 21 18 16:41 ]: > how would I go about formatting the following? > $serviceName = 'name1' > $userName = 'user1' > $securePassword = '5ecr3tw0rd' | ConvertTo-SecureString -AsPlainText > -Force > $expirationDate = $(Get-Date).AddDays(31) > $credential = New-Object System.Management.Automation.PSCredential > $userName,$securePassword > Set-AzureServiceRemoteDesktopExtension -ServiceName $serviceName > -Credential $credential -Expiration $expirationDate -Slot Production > The corresponding content of a Word document includes the following > (the problematic part is in bold): > > $userName = 'user1' > > $securePassword = '5ecr3tw0rd' | ConvertTo-SecureString -AsPlainText > -Force > > $expirationDate = $(Get-Date).AddDays(31) > > $credential = New-Object System.Management.Automation.PSCredential > userName.securePassword > > Set-AzureServiceRemoteDesktopExtension -ServiceName $serviceName > -Credential $credential -Expiration $expirationDate -Slot Production > > Set-AzureServiceRemoteDesktopExtension -ServiceName $serviceName > -Credential $credential -Expiration $expirationDate -Slot Staging ``` > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/0cc11c55-a18d-486a- > 9f7f-d01e68bce3b8%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/0cc11c55-a18d-486a-9f7f-d01e68bce3b8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout