From ec27b1fde6746d85f2cd946c42bea6acf4121e17 Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Tue, 14 Dec 2021 17:31:16 +0100 Subject: [PATCH] Add syntax highlighting to Web IDL examples. --- index.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.bs b/index.bs index e892368..207d124 100644 --- a/index.bs +++ b/index.bs @@ -2092,7 +2092,7 @@ it does not need to [=request permission to use|request permission to use=] magn for accuracy or [=sampling frequency=]. An example for a possible extension of the Permission API for accelerometer sensor is given below. -
+
     dictionary AccelerometerPermissionDescriptor : PermissionDescriptor {
         boolean highAccuracy = false;
         boolean highFrequency = false;
@@ -2153,7 +2153,7 @@ that are required by the absolute orientation sensor.
 Here's an example WebIDL for a possible extension of this specification
 for proximity [=device sensor|sensors=].
 
-
+
     [SecureContext, Exposed=Window]
     interface ProximitySensor : Sensor {
         constructor(optional ProximitySensorOptions proximitySensorOptions = {});