title: How to pass a value to MarkupString content in Blazor components?
body: <p>I am calling WebApi to GET Html code of page.
  I also use a SharedComponent where I pass this code as ChildContent:</p>
  <pre class="lang-cs prettyprint-override"><code>&lt;div&gt;
      @ChildContent
  &lt;/div&gt;
  
  @code {
  
      [Parameter]
      public RenderFragment ChildContent { get; set; }
  
  }
  </code></pre>
  <p>Afer I call the API, in my parent component I pass the code as ChildContent:</p>
  <pre class="lang-cs prettyprint-override"><code>&lt;SharedEmailTemplate&gt;
    @TemplateCode
   &lt;/SharedEmailTemplate&gt;
  </code></pre>
  <p>Untill this everything works fine. I can display the component, all of the HTML markups works.</p>
  <p>But in my HTML I'm using a placeholder that I want to changed based on my input:</p>
  <p>The message is: {{ message }}</p>
  <p>Is there any way to do that in Blazor without using JavaScript?</p>