Skip to content

윈도우 파이썬 마크다운 HTML 생성

준비

C:\> virtualenv \VirtualEnvs\mkdocs
C:\> \VirtualEnvs\mkdocs\Scripts\active
(mkdocs) C:\> pip install mkdocs
(mkdocs) C:\> md \Mkdocs
(mkdocs) C:\> cd \Mkdocs

생성

(mkdocs) C:\Mkdocs> mkdocs new example
(mkdocs) C:\Mkdocs> cd example

미리 보기

서버 실행

(mkdocs) C:\Mkdocs\example> mkdocs serve

내용 확인

http://localhost:8000

테마

material

준비

(mkdocs) C:\> pip install pygments
(mkdocs) C:\> pip install pymdown-extensions
(mkdocs) C:\> pip install mkdocs-material

설정

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