From: gid000765-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: multi-line formatting with $
Date: Mon, 22 Jan 2018 16:50:20 -0800 (PST) [thread overview]
Message-ID: <d8093ed9-836c-402f-a86f-3d0b8ced5ba7@googlegroups.com> (raw)
In-Reply-To: <20180122005903.GB77076-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 3502 bytes --]
Hi John,
appreciate the prompt reply. This indeed works as expected.
On Sunday, January 21, 2018 at 7:59:19 PM UTC-5, John MacFarlane wrote:
>
> 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.
>
>
> +++ gid0...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:> [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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > To post to this group, send email to
> > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > 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 <javascript:>
> > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 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
>
>
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d8093ed9-836c-402f-a86f-3d0b8ced5ba7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 7277 bytes --]
prev parent reply other threads:[~2018-01-23 0:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-22 0:41 gid000765-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <0cc11c55-a18d-486a-9f7f-d01e68bce3b8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-22 0:59 ` John MacFarlane
[not found] ` <20180122005903.GB77076-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2018-01-23 0:50 ` gid000765-Re5JQEeQqe8AvxtiuMwx3w [this message]
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=d8093ed9-836c-402f-a86f-3d0b8ced5ba7@googlegroups.com \
--to=gid000765-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).