Skip to main content

runnable_attrs

Function runnable_attrs 

Source
pub(super) fn runnable_attrs(info: &str) -> Option<(String, String)>
Expand description

解析围栏 info:识别 runnable 标记与可选 ResourceLimits JSON 覆盖。

仅在「标记为 runnable 且语言受支持」时返回 (lang, html-escaped overrides JSON), 供阅读器扫描 data-* 挂载运行器;其余情况返回 None。