title: How do I center text along an SVG curve?
body: <p>Is there a way to center the text along a curve in SVG?</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;svg width="100" height="25" xmlns="http://www.w3.org/2000/svg"&gt;
      &lt;defs&gt;
          &lt;path id="intermediate" d="M 7 5 C 25 25, 75 25, 93 5"/&gt;
      &lt;/defs&gt;
      &lt;text fill="#105ca6"&gt;
          &lt;textPath style="alignment-baseline: baseline;" xlink:href="#intermediate"&gt;Intermediate&lt;/textPath&gt;
      &lt;/text&gt;
  &lt;/svg&gt;</code></pre>
  </div>
  </div>
  </p>