algolia / algolia/diffable-html

Support to ignore a block

未关闭
#13 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted
主要语言
JavaScript
星标
38
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

Considering the following example:

```html


My paragraph with a link (

see here

).


```

The extra whitespace between the closing of the anchor and the parenthesis are an issue for us, it's creating an extra space, when viewed as HTML. Could there be an option, maybe a comment, that would disable the formatting for a specific block?

Out of scope? I let you be the judge.

I can also do a PR if you're interested.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先检查 HTML formatter 如何处理嵌套元素周围的空白,以及它是否已经识别注释或配置选项。定义忽略标记或选项应如何限定一个块的作用范围,然后验证示例在不改变其他位置格式的情况下保留预期的空白。

由索引模型根据 Issue 内容生成。

评估

技术栈
html, javascript
领域
tooling, web-dev
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。