ソースを参照

fix: highlighting in docs (#3599)

Chrystian de Matos 1 年間 前
コミット
554a11de19
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/docs/src/en/directives/on.md

+ 1 - 1
packages/docs/src/en/directives/on.md

@@ -303,7 +303,7 @@ If you are listening for touch events, it's important to add `.passive` to your
 
 
 Add this modifier if you want to execute this listener in the event's capturing phase, e.g. before the event bubbles from the target element up the DOM.
 Add this modifier if you want to execute this listener in the event's capturing phase, e.g. before the event bubbles from the target element up the DOM.
 
 
-```
+```alpine
 <div @click.capture="console.log('I will log first')">
 <div @click.capture="console.log('I will log first')">
     <button @click="console.log('I will log second')"></button>
     <button @click="console.log('I will log second')"></button>
 </div>
 </div>