VS Code > marp extension > 사용자 정의 스타일을 적용하기 위한 방법을 설명합니다.
{
"markdown.marp.themes": [
"./theme/custom.a4.css",
],
"markdown.marp.enableHtml": true
}
위 설정은 VS Code UI 를 통해서도 할 수 있습니다.
/* @theme a4 */
@import 'default';
u {
text-decoration: none;
border-bottom: 1px solid #CCC;
}
h1, h2, h3, h4, h5, h6 {
color: #24292f;
}
code {
color: #922;
background-color: #EEE;
}
section {
width: 210mm;
height: 297mm;
font-size: 23px;
}
section.title {
text-align: center;
}
section.title h6 {
text-align: right;
line-height: 1.0;
margin-top: 10px;
margin-bottom: 10px;
}
---
marp: true
theme: a4
paginate: true
---
<!-- _class: title -->
# 제목
###### 작성자
###### 작성일자
---
# 내용
- 내용내용