public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Convert output from "colordiff" to "markdown", (file_with_ansi_colors ---> markdown)
@ 2020-04-28  9:38 Raimundo Carlos Collado
       [not found] ` <df16b3b3-aaf0-4f9c-b7ae-8df24a3f027b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Raimundo Carlos Collado @ 2020-04-28  9:38 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 661 bytes --]

Hello

Any suggestion for this?

$ colordiff file1 file2 > output_ansi_colors
$ cat output_ansi_colors 
(view in a terminal the colors for the escape sequences)

??? its possible convert with pandoc, "output_ansi_colors" to "markdown"??


Many thanks

-- 
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/df16b3b3-aaf0-4f9c-b7ae-8df24a3f027b%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1120 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Convert output from "colordiff" to "markdown", (file_with_ansi_colors ---> markdown)
       [not found] ` <df16b3b3-aaf0-4f9c-b7ae-8df24a3f027b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-04-28 10:09   ` Jeremy Theler
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Theler @ 2020-04-28 10:09 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hi Raimundo

Try passing this xml file
https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/diff.xml
as --syntax-definition=diff.xml to pandoc


Regards
--
jeremy theler
www.seamplex.com



On Tue, 2020-04-28 at 02:38 -0700, Raimundo Carlos Collado wrote:
> Hello
> 
> Any suggestion for this?
> 
> $ colordiff file1 file2 > output_ansi_colors
> $ cat output_ansi_colors 
> (view in a terminal the colors for the escape sequences)
> 
> ??? its possible convert with pandoc, "output_ansi_colors" to
> "markdown"??
> 
> 
> Many thanks
> -- 
> 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/df16b3b3-aaf0-4f9c-b7ae-8df24a3f027b%40googlegroups.com
> .


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-28 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  9:38 Convert output from "colordiff" to "markdown", (file_with_ansi_colors ---> markdown) Raimundo Carlos Collado
     [not found] ` <df16b3b3-aaf0-4f9c-b7ae-8df24a3f027b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-04-28 10:09   ` Jeremy Theler

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).