Could the translation manual look like a mapping from skylighting/pandoc supported languages (from pandoc) to DokuWiki supported languages (from documentation). Sample:

[haskell] -> [haskell]
[cs] -> [csharp]
[] -> [6502acme]
[mandoc] -> []

My idea is that such list can be hopefully translated into Haskell structures. It should handle following cases:

A translation function could handle the data in following way (input is language name like "cs", "java" etc.):


Note 1: another sample of the problem (except the "csharp") are languages like MySQL ("sqlmysql" for skylighting and "mysql" for DokuWiki).

Note 2: apart from the problem, I am not sure if DokuWiki writer does not lack some languages in the DokuWiki.hs writer. List of names in code contains 79 languages, but the documentation of the DokuWiki has 201 languages (and their derivatives; counted only parsed lines).

Thanks in advance!

Dne čtvrtek 13. července 2017 9:09:01 UTC+2 John MacFarlane napsal(a):
What we'd need in the DokuWiki writer is a translation
manual from skylighting/pandoc language names to DokuWiki
names.  If you want to provide one, we can add this.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ca40b0c2-5d35-4f0b-bd0d-ae57c0eb65c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.