lukeed/tidyPublic

chore: merge mdtidy history

mdtidy's 78 commits, with each file at its new place in tidy, so
log and blame follow them. Root files that tidy has its own of are
left out of the rewritten history. The Markdown module is wired in
the commits after this one; until then the tidy crate's tests don't
build.
LELuke Edwards authored
2580685Patch
58 files changed+6003-0
StackedSplit
.github/workflows/release.yml+98 −0
bench/ab.ts+50 −0
bench/markdown.ts+36 −0
crates/tidy/examples/markdown_events.rs+17 −0
crates/tidy/markdown.Cargo.toml+22 −0
crates/tidy/src/markdown/directive.rs+79 −0
crates/tidy/src/markdown/front.rs+55 −0
crates/tidy/src/markdown/handoff.md+118 −0
crates/tidy/src/markdown/mod.rs+62 −0
crates/tidy/src/markdown/opener.rs+211 −0
crates/tidy/src/markdown/options.rs+184 −0
crates/tidy/src/markdown/readme.md+131 −0
crates/tidy/src/markdown/table.rs+173 −0
crates/tidy/src/markdown/width.rs+18 −0
crates/tidy/src/markdown/wrap.rs+334 −0
crates/tidy/src/markdown/writer/code.rs+107 −0
crates/tidy/src/markdown/writer/define.rs+90 −0
crates/tidy/src/markdown/writer/footnote.rs+73 −0
crates/tidy/src/markdown/writer/inline.rs+332 −0
crates/tidy/src/markdown/writer/layout.rs+136 −0
crates/tidy/src/markdown/writer/liquid.rs+145 −0
crates/tidy/src/markdown/writer/list.rs+141 −0
crates/tidy/src/markdown/writer/mod.rs+799 −0
crates/tidy/src/markdown/writer/survey.rs+167 −0
crates/tidy/src/markdown/writer/wiki.rs+123 −0
crates/tidy/tests/fixtures/markdown/cjk-markup.md+10 −0
crates/tidy/tests/fixtures/markdown/cjk.md+23 −0
crates/tidy/tests/fixtures/markdown/mixed.md+56 −0
crates/tidy/tests/markdown.rs+591 −0
crates/tidy/tests/markdown_semantics.rs+74 −0
crates/tidy/tests/support/events.rs+98 −0
crates/tidy_cli/tests/markdown.rs+73 −0
crates/tidy_napi/markdown.test.ts+49 −0
markdown-divergences.md+376 −0
retired/mdtidy_cli/Cargo.toml+20 −0
retired/mdtidy_cli/src/main.rs+193 −0
retired/mdtidy_napi/Cargo.toml+23 −0
retired/mdtidy_napi/build.rs+3 −0
retired/mdtidy_napi/bun.lock+251 −0
retired/mdtidy_napi/package.json+49 −0
retired/mdtidy_napi/src/lib.rs+137 −0
tests/oracle/markdown/corpus.ts+25 −0
tests/oracle/markdown/divergences.ts+71 −0
tests/oracle/markdown/divergences/code-span.md+2 −0
tests/oracle/markdown/divergences/continuation.md+2 −0
tests/oracle/markdown/divergences/emphasis.md+1 −0
tests/oracle/markdown/divergences/footnote-never.md+2 −0
tests/oracle/markdown/divergences/nested-blank.md+4 −0
tests/oracle/markdown/divergences/task-html.md+4 −0
tests/oracle/markdown/divergences/wrap-atom.md+2 −0
tests/oracle/markdown/divergences/wrap-cj-emoji.md+2 −0
tests/oracle/markdown/divergences/wrap-cj-latin.md+2 −0
tests/oracle/markdown/divergences/wrap-first-tag.md+1 −0
tests/oracle/markdown/divergences/wrap-html.md+1 −0
tests/oracle/markdown/divergences/wrap-label.md+4 −0
tests/oracle/markdown/prettier.ts+100 −0
tests/oracle/markdown/shrink.ts+50 −0