title: How to config intellij-idea not format some part of the code?
body: <p>In a html file, there is some code used custom template-language:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function ($scope, JsRoutes) {
          $scope.rows = [
              ${"#{list rows, as: 'row', separator: ','}"}
              {
              #{list fieldConfigs, as: 'f', separator: ','}
              ${f.name} : ${'$'}{row.${f.name}.toJson()}#{/list}
              }
              ${'#{/list}'}
          ]
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>Is it possible to configure intellij-idea not to format it(but format the other part of the document)? Since idea will make it hard to read after formatting:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function ($scope, JsRoutes) {
          $scope.rows = [
              ${"#{list rows, as: 'row', separator: ','}"}
              {
      #{list fieldConfigs, as: 'f', separator: ','}
      ${f.name} :
          ${'$'}{
              row.${f.name}.toJson()
          }#{/list}
      }
      ${'#{/list}'}
      ]
      }
  &lt;/script&gt;
  </code></pre>