#36 Definition for YAML

open-accepted
BenBE
3
2012-12-25
2007-01-30
Erik van Oosten
No

Hi,

I am missing a definition file for YAML. Unfortunately I do not know YAML good enough to create one myself.

Regards,
Erik.

Discussion

  • Nigel McNie
    Nigel McNie
    2007-01-31

    • milestone: --> Next_Release_(Stable)
    • priority: 5 --> 3
     
  • Nigel McNie
    Nigel McNie
    2007-01-31

    Logged In: YES
    user_id=1083971
    Originator: NO

    If you know a little php, it would not be hard to make it yourself. See section 4 of the documentation that comes with GeSHi.

    Otherwise, I'm not familiar with this language and so could not write the language file myself. If you could find someone with a little PHP experience and who knew your language, you could get them to write it.

     
  • Jack Bates
    Jack Bates
    2008-10-06

    I would like this feature because we use GeSHi in a project based on the symfony framework, which uses YAML extensively : )

     
  • Marc Laporte
    Marc Laporte
    2009-02-20

    Hi!

    We need it for TikiWiki as well:

    Adding YAML to GeSHi - Generic Syntax Highlighter for use in TikiWiki profiles
    http://dev.tikiwiki.org/wish2325

    Best regards,

    M ;-)

     
  • BenBE
    BenBE
    2010-05-01

    Well, it would really be nice if someone who knows a bit YAML could compile a basic language file. Correcting and fine-tuning it shouldn't be that of a problem then.

     
  • BenBE
    BenBE
    2010-05-01

    • assigned_to: nobody --> benbe
    • status: open --> open-accepted
     
  • Andreas Kotes
    Andreas Kotes
    2010-09-22

    This can be closed by extending the JavaScript extension list.

    'javascript' => array('js','json','yaml','yml')

    works perfectly for JSON, and makes GeSHi support YAML mostly as well.

    http://en.wikipedia.org/wiki/JSON
    http://en.wikipedia.org/wiki/Yaml

    if you're not comfortable with this, please at least do the

    'javascript' => array('js','json')

    bit.

    Thanks :)

     
  • CobOpe <a href="http://gltokrgyxfar.com/">gltokrgyxfar</a>, [url=http://xaevdsivuoaj.com/]xaevdsivuoaj[/url], [link=http://zmupmuwallqr.com/]zmupmuwallqr[/link], http://fitadkhbyvig.com/