瀏覽代碼

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.
 
-```
+```alpine
 <div @click.capture="console.log('I will log first')">
     <button @click="console.log('I will log second')"></button>
 </div>