Skip to content

Commit 2c5ccaf

Browse files
authored
docs: fix code block language settings and highlighting (#613)
1 parent 793fde0 commit 2c5ccaf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

fundamentals/bundling/webpack-tutorial/environment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ npm install --save-dev dotenv-webpack
3131

3232
`.env` 파일 예시:
3333

34-
```env
34+
```dotenv
3535
# API 설정
3636
API_URL=https://api.example.com
3737
API_KEY=your-api-key
@@ -108,7 +108,7 @@ const App: React.FC = () => {
108108
- `dotenv-webpack``safe` 옵션을 사용해요
109109
- `.env.example` 파일에 필수 변수를 정의해요:
110110

111-
```env
111+
```dotenv
112112
API_URL=
113113
API_KEY=
114114
DEBUG_MODE=

fundamentals/bundling/webpack-tutorial/make-first-bundle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ document.addEventListener("DOMContentLoaded", function () {
113113

114114
지금까지 만들어진 파일 구조를 다시 살펴볼게요.
115115

116-
```{6-10}
116+
```text{6-10}
117117
example-project/
118118
├── index.html
119119
├── style.css

fundamentals/debug/pages/fix/dead-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function formatDateForChristmasEventUser(date: Date): string {
3030

3131
`stylelint`를 사용해 사용되지 않을 선택자가 저장되는 것을 예방할 수 도 있어요. 아래와 같이 `stylelintrc` 파일에 린트를 셋팅해 두면, 선언되었지만 사용되지 않은 클래스가 있으면 워닝을 띄워줘요. 단, 런타임에만 등장하는 클래스는 **오탐/미탐** 가능성이 있어요.
3232

33-
```cli
33+
```bash
3434
npm install --save-dev stylelint stylelint-no-unused-selectors
3535
```
3636

0 commit comments

Comments
 (0)