Skip to content

Commit 1b1b611

Browse files
committed
fix: assembly highlight
1 parent da0336d commit 1b1b611

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

_config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ paginate: 10
153153
baseurl: ""
154154

155155
# ------------ The following options are not recommended to be modified ------------------
156-
markdown: kramdown
157-
highlighter: rouge
156+
158157
kramdown:
159158
footnote_backlink: "↩︎"
160159
syntax_highlighter: rouge

_posts/2021-11-20-startup-stm32.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Imagine your STM32F103VE as a person waking up in the morning. Just like how we
1313

1414
### First Things First: Getting Oriented
1515

16-
```asm
16+
```
1717
Stack_Size EQU 0x00000400 ; Like choosing how much space you need
1818
; 1KB of stack - your working space
1919
@@ -31,7 +31,7 @@ Just as you need to know where your things are when you wake up, the MCU needs t
3131

3232
## The Morning Checklist (Vector Table)
3333

34-
```asm
34+
```
3535
AREA RESET, DATA, READONLY
3636
EXPORT __Vectors
3737
@@ -45,7 +45,7 @@ Think of this as your morning emergency contacts list - who to call when differe
4545

4646
## The Wake-up Routine (Reset_Handler)
4747

48-
```asm
48+
```
4949
Reset_Handler PROC
5050
EXPORT Reset_Handler [WEAK]
5151
IMPORT __main
@@ -68,7 +68,7 @@ This is like your morning routine - get up (SystemInit), get ready, and start yo
6868
### Quick Start Mode
6969
For when you need to get going fast:
7070

71-
```asm
71+
```
7272
; Like grabbing a quick breakfast
7373
Reset_Handler PROC
7474
CPSID I ; Do Not Disturb mode
@@ -82,7 +82,7 @@ Reset_Handler PROC
8282
### Safety Check Mode
8383
When you need extra security:
8484

85-
```asm
85+
```
8686
; Like double-checking everything before leaving
8787
LDR R0, =SafetyCheck
8888
BLX R0

0 commit comments

Comments
 (0)