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 [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 . > > To post to this group, send email to > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@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-...-/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 > > -- 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.