맥 파이썬 마크다운 HTML 생성

준비

$ mkvirtualenv mkdocs
$ workon mkdocs
(mkdocs)$ pip install mkdocs
(mkdocs)$ mkdir ~/Mkdocs
(mkdocs)$ cd ~/Mkdocs

생성

(mkdocs)$ mkdocs new example
(mkdocs)$ cd example

미리 보기

서버 실행

(mkdocs)$ mkdocs serve

내용 확인

http://localhost:8000

테마

material

준비

(mkdocs)$ pip install pygments
(mkdocs)$ pip install pymdown-extensions
(mkdocs)$ pip install mkdocs-material

설정

(mkdocs)$ cd ~\Mkdocs\example
(mkdocs)$ vim mkdocs.yml
site_name: "example"
theme: material
pages:
    - "home": index.md