how do i add php support to js-code-prettifier

138 views
Skip to first unread message

DJAB HipHop

unread,
Mar 19, 2014, 12:55:55 PM3/19/14
to js-code-p...@googlegroups.com
how do i add php support to js-code-prettifier

Mike Samuel

unread,
Mar 19, 2014, 1:17:56 PM3/19/14
to js-code-p...@googlegroups.com
I don't know what it is you want to do. Please expand on what you'd
like to see happen and what you currently see happening.

2014-03-19 12:55 GMT-04:00 DJAB HipHop <mwe...@yahoo.com>:
> how do i add php support to js-code-prettifier
>
> --
> You received this message because you are subscribed to the Google Groups
> "js-code-prettifier" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to js-code-prettif...@googlegroups.com.
> To post to this group, send email to js-code-p...@googlegroups.com.
> Visit this group at http://groups.google.com/group/js-code-prettifier.
> For more options, visit https://groups.google.com/d/optout.

Fernando Pazos

unread,
Jun 8, 2018, 1:13:19 PM6/8/18
to js-code-prettifier
For example you can't add <?php , it starts to create an html comment: example:
This:
<?php // Example
namespace App\Controllers;

use App\Utiles\SiteConfiguration;

Outputs this:
<!--?php // Example

namespace App\Controllers;

use App\Utiles\SiteConfiguration;-->

Mike Samuel

unread,
Jun 10, 2018, 9:15:54 AM6/10/18
to js-code-prettifier
You need to escape the '<' just as you would when putting sample PHP code in a larger HTML document without prettifying.

--
You received this message because you are subscribed to the Google Groups "js-code-prettifier" group.
To unsubscribe from this group and stop receiving emails from it, send an email to js-code-prettif...@googlegroups.com.
To post to this group, send email to js-code-p...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "js-code-prettifier" group.
To unsubscribe from this group and stop receiving emails from it, send an email to js-code-prettif...@googlegroups.com.
To post to this group, send email to js-code-p...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages