# Editor

## Media

![](${media_public_path}/example.png) written in the markdown editor (left side) gets parsed into <img src="http://localhost:${random_port}/${media_public_path}/example.png"> in the preview panel at the right side . (${media_public_path} is a media public path)

Agit CMS starts local http server on ${random_port} at media folder path in the filesystem to serve media contents. Http server automatically closes when Agit CMS is closed. There’s a couple of things to note • On Windows, you have to tell windows to allow Agit CMS to start http server when warning is shown. • 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.