This PR was merged into the 1.x branch.
Discussion
----------
fixed doc issues
Commits
-------
629810c fixed doc issues
... | ... |
@@ -551,18 +551,18 @@ include in your templates: |
551 | 551 |
``interpolateProvider`` service, for instance at the module initialization |
552 | 552 |
time: |
553 | 553 |
|
554 |
- ```js |
|
555 |
- angular.module('myApp', []).config(function($interpolateProvider) { |
|
556 |
- $interpolateProvider.startSymbol('{[').endSymbol(']}'); |
|
557 |
- }); |
|
558 |
- ``` |
|
554 |
+ ..code-block:: javascript |
|
555 |
+ |
|
556 |
+ angular.module('myApp', []).config(function($interpolateProvider) { |
|
557 |
+ $interpolateProvider.startSymbol('{[').endSymbol(']}'); |
|
558 |
+ }); |
|
559 | 559 |
|
560 | 560 |
* For Twig, change the delimiters via the ``tag_variable`` Lexer option: |
561 | 561 |
|
562 |
- ```php |
|
563 |
- $env->setLexer(new Twig_Lexer($env, array( |
|
564 |
- 'tag_variable' => array('{[', ']}'), |
|
565 |
- ))); |
|
566 |
- ``` |
|
562 |
+ ..code-block:: php |
|
563 |
+ |
|
564 |
+ $env->setLexer(new Twig_Lexer($env, array( |
|
565 |
+ 'tag_variable' => array('{[', ']}'), |
|
566 |
+ ))); |
|
567 | 567 |
|
568 | 568 |
.. _callback: http://www.php.net/manual/en/function.is-callable.php |