On Wed, 13 May 2015, Andreas Schneider wrote:

Here is an example:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\usemodule[vim]
\definevimtyping[JSON][syntax=javascript, lines=split, strip=yes]

Add `option=hyphenated`.

\starttext
The example:

\startJSON
{
"sample_parameter": "http://some/url/with/a/lot/of/path/elements?and=some&variables=too";
}
\stopJSON

\stoptext

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to