diff --git a/packages/core/src/components/discord-code/DiscordCode.ts b/packages/core/src/components/discord-code/DiscordCode.ts index 1e1545f98..0fe965f12 100644 --- a/packages/core/src/components/discord-code/DiscordCode.ts +++ b/packages/core/src/components/discord-code/DiscordCode.ts @@ -1,7 +1,6 @@ import { consume } from '@lit/context'; import { css, html, LitElement } from 'lit'; import { customElement, property } from 'lit/decorators.js'; -import { ifDefined } from 'lit/directives/if-defined.js'; import { messagesLightTheme } from '../discord-messages/DiscordMessages.js'; import type { LightTheme } from '../../types.js'; @@ -86,15 +85,6 @@ export class DiscordCode extends LitElement implements LightTheme { @property({ type: Boolean, reflect: true }) public accessor embed = false; - /** - * The language of the code snippet. - * - * Setting this property will add a class "language-" to the `code` element - * which can get styled by a library such as [Prism](https://prismjs.com/). - */ - @property() - public accessor language: string | undefined = undefined; - protected override willUpdate() { if (this.parentElement && 'lightTheme' in this.parentElement) { const parent = this.parentElement as { lightTheme: boolean }; @@ -105,7 +95,7 @@ export class DiscordCode extends LitElement implements LightTheme { protected override render() { if (this.multiline) { return html``; }