public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* New syntax highlighting definition for Python and R code
@ 2021-01-20  0:58 Lương Nguyễn Thanh
       [not found] ` <db8075f8-260c-41db-81ca-a6464985c7fcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Lương Nguyễn Thanh @ 2021-01-20  0:58 UTC (permalink / raw)
  To: pandoc-discuss


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

Hello everyone,

I am working with Rmarkdown, usually I have to generate a html file. 
However, the default syntax highlighter of pandoc for python and r code 
doesn't meet to my demand and I want to customize a little bit. How I can 
do it, my OS system is Window 10.

Thank you and best regards,

-- 
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/db8075f8-260c-41db-81ca-a6464985c7fcn%40googlegroups.com.

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

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

* Re: New syntax highlighting definition for Python and R code
       [not found] ` <db8075f8-260c-41db-81ca-a6464985c7fcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-01-20 23:53   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2021-01-20 23:53 UTC (permalink / raw)
  To: Lương Nguyễn Thanh, pandoc-discuss


See the manual under
https://pandoc.org/MANUAL.html#option--syntax-definition

You can find the xml definitions for python and r here:
https://github.com/jgm/skylighting/tree/master/skylighting-core/xml




Lương Nguyễn Thanh <ph.ntluong95-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hello everyone,
>
> I am working with Rmarkdown, usually I have to generate a html file. 
> However, the default syntax highlighter of pandoc for python and r code 
> doesn't meet to my demand and I want to customize a little bit. How I can 
> do it, my OS system is Window 10.
>
> Thank you and best regards,
>
> -- 
> 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/db8075f8-260c-41db-81ca-a6464985c7fcn%40googlegroups.com.

-- 
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/m2k0s7f9nb.fsf%40MacBook-Pro.hsd1.ca.comcast.net.


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

end of thread, other threads:[~2021-01-20 23:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20  0:58 New syntax highlighting definition for Python and R code Lương Nguyễn Thanh
     [not found] ` <db8075f8-260c-41db-81ca-a6464985c7fcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-01-20 23:53   ` 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).