Skip to main content

ยท One min read
David Sun

vscode ์—์„œ markdown ์„ ํŽธ์ง‘ํ•  ๋•Œ image ๋ฅผ ์–ด๋–ป๊ฒŒ ์‰ฝ๊ฒŒ ์ฒจ๋ถ€ํ•  ์ˆ˜ ์žˆ์„๊นŒ?

[Extensions] VScode์—์„œ ์ด๋ฏธ์ง€ ์บก์ณ๋ฅผ ์Šฌ๊ธฐ๋กญ๊ฒŒ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•(feat. Paste Image)

vscode ์˜ extension ์ค‘ Paste Image ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค.

๋จผ์ € Image ๋ฅผ clip-board ์— ๋ณต์‚ฌํ•œ๋‹ค. ๊ทธ๋ฆฌ๊ณ  markdown file ์—์„œ ์‚ฝ์ž…์„ ์›ํ•˜๋Š” ์œ„์น˜๋กœ ์ปค์„œ๋ฅผ ์˜ฎ๊ธด๋‹ค. Cmd Opt v ๋ฅผ ๋ˆ„๋ฅธ๋‹ค. ๋ณต์‚ฌ์™„๋ฃŒ.

image ๋Š” img/2022-08-27-08-22-49.png ์— ์ €์žฅ๋˜์—ˆ๋‹ค. image file path ๋Š” Paste Image ์˜ ํ™˜๊ฒฝ์„ค์ •์—์„œ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ๋‹ค.

image file ์˜ ์ด๋ฆ„์„ ์›ํ•˜๋Š”๋ฐ๋กœ ์ •ํ•  ์ˆ˜๋„ ์žˆ๋‹ค. ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์›ํ•˜๋Š” ์ด๋ฆ„์„ ๋จผ์ € ์ ์–ด๋†“๊ณ  ๊ทธ ์ด๋ฆ„์„ ๋ธ”๋ก์œผ๋กœ ๊ฐ์‹ผ๋‹ค. ๊ทธ๋ฆฌ๊ณ  Cmd Opt v ๋ฅผ ๋ˆ„๋ฅธ๋‹ค. ๋ณต์‚ฌ์™„๋ฃŒ.

ยท One min read
David Sun
# Deploy srcon local$ yarn start
# Build and resolve errors$ yarn build# Deploy build directory on local$ yarn serve

docusaurus ๋ฅผ netlify CMS ์™€ ์—ฐ๋™ํ•˜๊ธฐ

Docusaurus | netlify CMS

netlify CMS ๋กœ ๊ธ€์„ ์“ฐ๊ธฐ

iamslash.netlify.app/admin ์œผ๋กœ ์ ‘์†ํ•œ๋‹ค. ๊ธ€์„ ์“ด๋‹ค. Publish now ํ•œ๋‹ค. ์ž๋™์œผ๋กœ ๋ฐฐํฌ๋œ๋‹ค. iamslash.netlify.app ์œผ๋กœ ์ ‘์†ํ•œ๋‹ค.

GitHub ์—์„œ docusaurus ๋ฅผ deploy ํ•˜๊ธฐ

$ npm install gh-pages -g$ gh-pages -d build

ยท One min read
Sรฉbastien Lorber
Yangshun Tay

Docusaurus blogging features are powered by the blog plugin.

Simply add Markdown files (or folders) to the blog directory.

Regular blog authors can be added to authors.yml.

The blog post date can be extracted from filenames, such as:

  • 2019-05-30-welcome.md
  • 2019-05-30-welcome/index.md

A blog post folder can be convenient to co-locate blog post images:

Docusaurus Plushie

The blog supports tags as well!

And if you don't want a blog: just delete this directory, and use blog: false in your Docusaurus config.