Developer Corner 

Generated markup 

Syntax Highligther 

<pre class="php">
   CODE GOES HERE
</pre>
Copied!

Prism 

<pre class="language-php">
   <code>
      CODE GOES HERE
   </code>
</pre>
Copied!

FAQ 

Howto install JS vendors 

  1. Download amd install node.js from http://nodejs.org/download/
  2. Install bower

    npm install bower
    Copied!
  3. Install vendors from CLI

    node_modules/.bin/bower install
    Copied!
  4. Remove unneeded files in Resources/Public/Javascript/vendor:

    • qunit folder
    • xregexp folder
    • prism/gulpfile.js folder
    • all *.min.js files in prism/components/
    • all untracked files in prism/

Run unit tests 

cd packages/beautyofcode
composer install
cd .Build
bash ./run_tests.sh
Copied!