title: Using pandoc to generate PDF from Markdown with inline style
body: <p>I'm looking to create a <em>mostly</em> markdown document, but would like to take advantage of inserting HTML when I might need a bit more control over formatting on a case-by-case basis. I have iaWriter on macOS and am able to do so, and from my understanding of markdown this is an included behaviour.</p>
  
  <p>When using pandoc on my linux machine, however, some tags (most notably <code>&lt;i&gt;</code> tags at the moment) are not interpreted.</p>
  
  <p>My markdown file is:</p>
  
  <pre><code>This _does_ work.
  This does &lt;i&gt;not&lt;/i&gt; work.
  
  However, inserting a &lt;p&gt;tag&lt;/p&gt; will create a line-break and new paragraph.
  </code></pre>
  
  <p>When I execute <code>pandoc -o test.pdf test.md</code> I get the result: <a href="https://i.stack.imgur.com/sCDhK.png" rel="nofollow noreferrer">test.pdf</a></p>
  
  <p>I've tried a few extensions in the output (+raw_html, +inline_code_attributes) thinking maybe I was missing something but have so far not found an explanation.</p>
  
  <p>Apologies if this is a duplicate, but I was unable to find it, and have so far been unable to source an answer.</p>
  
  <p>Thank you.</p>
  
  <hr>