* weird: tab is replaced with spaces locally but not on pandoc.org/try
@ 2023-04-06 14:35 jiewuza
2023-04-06 17:15 ` John MacFarlane
0 siblings, 1 reply; 2+ messages in thread
From: jiewuza @ 2023-04-06 14:35 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
I am using pandoc 3.1.2 locally.
I convert some code block using tab as indentation from html to latex, and find the result is indented by spaces. While with the same input and cmdline on pandoc.org/try, tabs are reserved.
I have no idea why.
--
----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: weird: tab is replaced with spaces locally but not on pandoc.org/try
2023-04-06 14:35 weird: tab is replaced with spaces locally but not on pandoc.org/try jiewuza
@ 2023-04-06 17:15 ` John MacFarlane
0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2023-04-06 17:15 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
You can use `—preserve-tabs` on the command line if you want to preserve them. That’s just the default on the web app.
> On Apr 6, 2023, at 7:35 AM, jiewuza <jiewuza-9Onoh4P/yGk@public.gmane.org> wrote:
>
> I am using pandoc 3.1.2 locally.
> I convert some code block using tab as indentation from html to latex, and find the result is indented by spaces. While with the same input and cmdline on pandoc.org/try, tabs are reserved.
>
> I have no idea why.
> --
>
>
>
>
> ----Android NewsGroup Reader----
> http://www.piaohong.tk/newsgroup
>
> --
> 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/u0mlbg%246sh%241%40ciao.gmane.io.
--
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/AAE60CE7-FA54-4189-B663-F7880EC114C1%40gmail.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-06 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-06 14:35 weird: tab is replaced with spaces locally but not on pandoc.org/try jiewuza
2023-04-06 17:15 ` John MacFarlane
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).