Re: Bug#703188: Offer to sponsor ruby-pygments.rb
On Wed, Apr 2, 2014 at 8:39 PM, Per Andersson <avtobiff@gmail.com> wrote:
> On Mon, Mar 24, 2014 at 4:46 PM, Dominique Dumont <dod@debian.org> wrote:
>> On Monday 03 March 2014 23:17:22 Per Andersson wrote:
>>
>> Possible solutions:
>> - create a package (upstream or debian) for gitlab custom lexer. In theory
>> python-pygment plugin can be used to load gitlab lexer in python-pygment.
> (...)
>> From a technical point of view (and for our user), the first solution is
>> probably the best.
>>
>> But I don't have the skill and the time to implement it. Unless someone steps
>> up, I'm going to implement the latter solution.
>
> IIRC the github custom lexer is only one file right?
>
> I can have a look at pygments plugin and talk with upstream also if they might
> want to include the github markup lexer.
I looked at the actual source and the github lexer implements four
custom lexers:
* Dasm16
* Puppet
* TOML
* Augeas
Puppet is supported by pygments nowadays, and the others are not widely used
that I know of.
I say we ship ruby-pygments without the github custom lexer.
If someone is interested in getting Debian's ruby-pygments to support Dasm16,
TOML, or Augeas; they can push for getting these parts of the github
lexer included
in pygments upstream.
Should have looked at the code earlier...
--
Per
Reply to: