title: How to add or use functions on Atom snippets?
body: <p>I want to know if it is possible to create or call functions to use on snippets in the Atom editor. If possible, how do I do it ? Maybe using lodash or something similar ?</p>
  
  <p>I want to use something like uppercase(), downcase(), filePath().</p>
  
  <p>My problem is that I want to generate something like this line below:</p>
  
  <pre><code>import Hello from 'components/atoms/hello/Hello';
  </code></pre>
  
  <p>My snippet would be something like this:</p>
  
  <pre><code>import $1 from 'components/atoms/downcase($1)/$1';
  </code></pre>
  
  <p>Or:</p>
  
  <pre><code>import camelCase($1) from 'components/atoms/$1/camelCase($1)';
  </code></pre>