Is there a way to display the base of a logarithm in (GitHub-flavored) Markdown so that it will be shown below the line?
I mean the number 2 in this expression: log2 n.
Is there a way to display the base of a logarithm in (GitHub-flavored) Markdown so that it will be shown below the line?
I mean the number 2 in this expression: log2 n.
You can use
you can write
log<sub>b</sub><sup>x</sup>+log<sub>b</sub><sup>y</sup>
which displays
enter code here
logbx+logby
If you want to use math symbols and expressions in Markdown use this syntax $<expression>$
I mean the number 2 in this expression: log2 n
Write $log{_2}{n}$
in your markdown file.