Blog with Mathematics
How to type mathematical expressions in a Blog?
It is well known that there are a lot of platforms on which you can create your own websites, these websites are usually called blogs. The most popular are Wordpress and Blogger.
However, these platforms only support basic text editting, not mathematical expressions. So, a good solution for this is to use StackEdit which is a platform that you may type your posts in the style of Markdown and Latex.
- Blogger is a platform on which we may create our own website.
- StackEdit is a platform on which we may type with Markdown and Latex style and then synchronize it to your Blogger as an HTML file.
Note that StackEdit’s file can be synchronized to Wordpress as well if you already have Jetpack (A plug-in that you have to pay to use).
With StackEdit, you can write mathematical expressions easily, for example,
Both Blogger’ and StackEdit’s account can be created using Gmail.
How to type?
To type a formula, we put it in between two double dollars $$
as follows,
$$e^{-x^2}$$
the result is
To type a command, we put it in between backticks ```
or three tildes ~~~
as follows,
```python
import numpy as np
def Gaussian(x):
return np.exp(-x**2)
```
the result is
import numpy as np
def Gaussian(x):
return np.exp(-x**2)
For more information about editing: