# Editor

## Media

Agit CMS starts local http server on port 3001 to serve media for previewing purpose.

On Windows, You have to allow Agit CMS to starts http server when warning is shown.

![](${media_public_path}/example.png) will be parsed into http://localhost:3001/${media_public_path}/example.png in the right side previewer. (${media_public_path} is a media public path) Image placed at the same folder as the markdown post file is in cannot be previewed at this version. To quickly get image path you want to insert into the editor, Agit CMS has a file explorer shortcut button Media for it. It opens media folder path, and selected image’s public path will be copied into your clipboard. This way, you can easily type ![](${ctrl + v}) (where ${ctrl + v} means pressing ctrl + v) to insert the image. ## image pasting Agit CMS supports Ctrl + v to paste image into the editor. Set media folder path and media public path to enable this feature. ## mathjax Type 1$$2a + b = c 3$$  to represent block math. Type  1$$a + b = c$$ 2 3or 4 5$ a + b = c $6 7or 8 9$
10a + b = c
11\$


to represent inline math.