use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Mdn; impl Platform for Mdn { fn id(&self) -> &'static str { "mdn" } fn name(&self) -> &'static str { "MDN" } fn category(&self) -> Category { Category::Dev } fn domains(&self) -> &'static [&'static str] { &["developer.mozilla.org", "mdn.mozilla.org", "mdn.dev"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Mdn = Mdn;