Laurent Godard wrote: > I implemented a first version of code coloration using Pygments for > nxPointDoc pages > > eg. > http://public.dev.nuxeo.com/~lgodard/nxpointdoc/org.nuxeo.ecm.platform.mimetype.service.MimetypeRegistryService.html#extension_point_mimetype > > > For code-coloring, you need to use <code>...</code> tags > To specify the language, use <code language="xxx"> > (the <pre> behaviour is unchanged) > > The language list supported by Pygments is there > http://pygments.org/docs/lexers/ > (look at Aliases entries) > > xml, java are the most probably to be used here and it works > the default for nxpointdoc is xml > > The color have not been re-worked yet and may change. > > Feel free to comment > As usual, i'm open to any comments and suggestion
kewl ! :)
Thanks !
J.
--
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
