- Open Preferences dialog in webstorm
- Press ⌘ +
,
(command key and ‘,’)
- Press ⌘ +
-
Search for ‘File and Code Templates’
- Click
+
image in Files tab in ‘File and Code Templates’- Enter ‘Jekyll Post’ in Name field
- Enter ‘md’ in Extension field
- Enter below in the template
---
layout: post
title: $title
date: ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}:${SECOND} +0900
type: post
published: true
comments: true
categories: [$categories]
tags: [$tags]
---
참고:
Comments