Notion에서 작성하여 export한 파일을 자동으로 GitHub 블로그(jekyll)에 업로드 가능한 형태로 변환해주는 프로그램입니다. Notion 글에 삽입된 이미지를 자동으로 처리하여 GitHub 블로그에 편리하게 포스팅할 수 있습니다.
이 프로그램은 파이썬3 버전으로 작성 되었습니다.
![이미지주소](이미지주소)
에서 ![캡션](이미지주소)
로 변경되었습니다.notion-to-github-python.py
를 본인 로컬 PC github 블로그 디렉터리 (username.github.io) 에 저장합니다. 아래의 명령어로도 해당 작업이 가능합니다.git clone https://github.com/jeongHwarr/notion-to-github-python.git
cd notion-to-github-python
xcopy notion-to-github-python.py <본인의 github 블로그 디렉터리>
git clone https://github.com/jeongHwarr/notion-to-github-python.git
cd notion-to-github-python
sudo cp notion-to-github-python.py <본인의 github 블로그 디렉터리>
notion_to_github-python.py
를 실행시킵니다.python notion-to-github-python.py
y
: 삭제, n
: 미삭제)https://github.com/uoneway/notion-to-github-pages의 글과 코드를 많이 참고하였습니다. 감사합니다.