Skip to content

Commit

Permalink
Stop trying to use webidl syntax highlighting that doesn't exist. (#775)
Browse files Browse the repository at this point in the history
Based on the log at
https://app.netlify.com/sites/open-ui/deploys/648757635e920e0008e01eb0
it seems like this attempt to use webidl syntax highlighting causes the
warning (unattributed to any file):
    The language "webidl" doesn't exist, falling back to plaintext.

This removes the unneeded language (which doesn't cause any
highlighting) and adds a closing brace as well.
  • Loading branch information
dbaron authored Jun 21, 2023
1 parent ad32220 commit 13eab00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site/src/pages/components/popover.research.explainer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,11 @@ Again, the above descriptions depend on all five CSSWG issues above landing in s

The `popover` content attribute will be [reflected](https://html.spec.whatwg.org/#reflect) as a nullable IDL attribute:

```webidl
```
[Exposed=Window]
partial interface Element {
attribute DOMString? popover;
}
```

This not only allows developer ease-of-use from JavaScript, but also allows for a feature detection mechanism:
Expand Down

0 comments on commit 13eab00

Please sign in to comment.