Yusuke Hirao
Yusuke Hirao
@kagankan Thank you for your awesome ideas! ## Good Ideas - New Colors (Thanks, kept contrast) - Rounded corners - Added gap to areas ## Questions - Why _Oblique_ type?...
Below is the final results of the voting that was planned by my decision. https://twitter.com/markuplint/status/1573166380937252865 I will adopt the idea that is designed by @kagankan. Thank you so much! But...
I thought to need some interpretations for the spec of elements: A. The attribute is empty. B. Union types that all patterns of the value of the attribute. C. Intersection...
However, It defines conditions for attributes as CSS Selector. It can make union types and intersection types if it uses the parser, but I think it is too complicated, and...
I may don't need `file` property if using `overrides` option.
## MLDOM API Idea: ```ts interface MLNode { readonly isPretender: boolean; readonly isPretended: boolean; } interface MLElement extends MLNode { readonly pretender: MLElement | null; readonly origin: MLElement | null;...
## Another Idea: ```ts import { createRule } from '@markuplint/ml-core'; export default createRule({ applyPretenders: true, // is default async verify({ document, report }) { await document.walkOn('Element', (el) => { el;...
## Application idea: ### API: ```ts document.setPretenders(config.pretenders); // with enabling document.addPretenders(pretendersObject); // for plugin hooks document.enablePretenders(); document.disablePretenders(); document.clearPretenders(); ``` ### Applying ```ts if (config.pretenders?.ignoreRules.includes(rule.name)) { document.enablePretenders(); } else { document.disablePretenders();...
## Plugin Hooks ```ts const extendedConfig = plugin.hooks(context); if (extendedConfig.pretenders) { document.addPretenders(extendedConfig.pretenders); } ``` In #471 ```ts // plugin/**/*.ts export hooks function (context) { const ast = parse(context.code); const pretenders...
Unfortunately, the CLI has no that. You can only check the page if you download its HTML to your local. I want to implement that it receives HTML through the...