I am trying to center a code in markdown (used in JupyterLab). Here is the code I use
<div style="text-align:center"><span style="font-size:1em;"> `code template` </span> </div>
But this code keeps showing ` at the beginning and end of this simple snippet. Any suggestion on solving this problem is appreciated
`
Markdown generally is not processed in HTML block-level elements like <div>s:
<div>
Note that Markdown formatting syntax is not processed within block-level HTML tags. E.g., you can’t use Markdown-style *emphasis* inside an HTML block.
*emphasis*
But you can still use HTML:
<div style="text-align:center"><span style="font-size:1em;"> <code>code template</code> </span> </div>
1.4m articles
1.4m replys
5 comments
56.9k users