algolia / algolia/diffable-html

Running in the browser environment

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

描述

I'm looking for a module to format HTML in interactive examples on the React docs website. I was hoping to use `diffable-html` but it looks like it runs only in Node. Would it be feasible to remove the dependency on Node APIs? If not, do you know of any other module that can take an HTML string without any whitespace or line-breaks and format it for people to inspect?

贡献指南

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

调研方向

Issue 中没有指定源文件或测试。首先检查 diffable-html 使用了哪些 Node APIs,以及其 formatter 是否可以在浏览器中运行;当该 package 能够在 React 文档环境中格式化紧凑 HTML,或该 issue 指出了合适的浏览器兼容替代方案时,即可视为完成。

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

评估

技术栈
javascript, react
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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