googlearchive / code-prettify

An embeddable script that makes source-code snippets in HTML prettier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"code prettifier" doesn't prettify any code

174n opened this issue · comments

So, here is the code

<pre class="prettyprint">
// File: routes/web.php

Route :: get ( '/' , 'WelcomeController@index' );

// File: app/Http/Controllers/WelcomeController.php
namespace app\Http\Controllers ;

 

class WelcomeController
{
public function index ()
{
return 'Hello, World!' ;
}
}
</pre>

The code is highlighted but not prettified. I also tried with other languages and got same results

commented

show how you are calling pretty print

I don't think I called pretty print. Actually I don't remember, that was a while ago. I think I added the script tag at the end of my page and nothing else

commented

Then, you should close your issue