-
코드 캡쳐 방법 / 코드 스니펫 제작카테고리 없음 2022. 11. 20. 11:14
1.온라인 상 코드 캡처용 사이트 (사용자설정 완) : https://carbon.now.sh/?bg=rgba%28255%2C255%2C255%2C1%29&t=vscode&wt=none&l=python&width=680&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=20px&ph=15px&ln=false&fl=1&fm=Hack&fs=15px&lh=138%25&si=false&es=2x&wm=false&code=
Carbon | Create and share beautiful images of your source code
carbon.now.sh
사용 예시 2. 비주얼 스튜디오 익스텐션 : CodeSnap
https://www.inflearn.com/blogs/1672
3. 결과(output) 캡처 방법
- 출력까지 보여줘야 할 필요가 있을 때도 있다.
누군가 패키지로 만들어 놓았다 https://discourse.jupyter.org/t/cell-magic-to-save-image-output-as-a-png-file/11906
Cell magic to save image output as a .png file
It would be great if there was an easy option to save Jupyter cell output to .png files. Let’s say I have: import matplotlib.pyplot as plt x= range(0,10) fig, ax = plt.subplots() ax.plot(x, x) plt.show() In this example, I could use fig.savefig("img/foo.
discourse.jupyter.org
https://github.com/Octoframes/jupyter_capture_output
GitHub - Octoframes/jupyter_capture_output: A cellmagic that captures celloutput such as text, image or video to files.
A cellmagic that captures celloutput such as text, image or video to files. - GitHub - Octoframes/jupyter_capture_output: A cellmagic that captures celloutput such as text, image or video to files.
github.com
4. 코드 이미지에서 코드 추출 (이미지 -> 코드 )
https://medium.com/getpieces/extract-code-snippets-from-screenshots-with-pieces-22b8a75dd6d0
Extract code snippets from screenshots with Pieces
Rewriting code from screenshots you find online? A thing of the past.
medium.com
5. Pieces 란 어플 소개
https://medium.com/getpieces/youre-still-not-using-code-snippets-4a8899d53151
You’re still not using code snippets?!
Snippets are useful to developers, but saving snippets generally suck. Pieces.app is a new tool to save snippets in less than a second.
medium.com
6. 티스토리 내 입력 = 코드블럭
플러그인 “syntax” 이용하면 문법 강조