Skip to content

Commit

Permalink
chore: code block example
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Dec 21, 2023
1 parent b153b82 commit a7f5292
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ const InitialHTML = `<div>
</div>
</details>
<p><br></p>
<h2><span>Code blocks</span></h2>
<p><br></p>
<p><span>Type </span><code spellcheck="false"><span >\`\`\`</span></code><span> followed by a space to create a code
block. You can choose the language when your
cursor is within the code block.</span></p>
<p><br></p>
<pre spellcheck="false"
data-highlight-language="js"><span >function</span><span> </span><span >main</span><span >(</span><span >)</span><span> </span><span >{</span><br><span> </span><span >const</span><span> variable </span><span >=</span><span> </span><span >"string"</span><span >;</span><br><span> </span><span >return</span><span> </span><span >TEST</span><span >;</span><br><span >}</span></pre>
<p><br></p>
<h2><span>Tables</span></h2>
<table>
<colgroup>
Expand Down

0 comments on commit a7f5292

Please sign in to comment.