You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to create code blocks with bold and italics by manually inserting html tags. E.g:
<pre><code> <b>Algorithm</b> FindMax(S): <i><b>Input:</b></i> Sequence S of length n <i><b>Output:</b></i> The maximum element in S <b>if</b> n == 0 <b>then</b> <b>return</b> None <b>else if</b> n == 1 <b>then</b> <b>return</b> S[n-1] <b>else</b> <b>return</b> Maximum of S[n-1] and FindMax(S[0:n-1]) </code></pre>
One use case for this is writing pseudocode. It would be helpful if the editor automated this process.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It's possible to create code blocks with bold and italics by manually inserting html tags. E.g:
<pre><code> <b>Algorithm</b> FindMax(S): <i><b>Input:</b></i> Sequence S of length n <i><b>Output:</b></i> The maximum element in S <b>if</b> n == 0 <b>then</b> <b>return</b> None <b>else if</b> n == 1 <b>then</b> <b>return</b> S[n-1] <b>else</b> <b>return</b> Maximum of S[n-1] and FindMax(S[0:n-1]) </code></pre>
One use case for this is writing pseudocode. It would be helpful if the editor automated this process.
Beta Was this translation helpful? Give feedback.
All reactions