Tags: gsnedders/yari
Tags
Stripe (again) (mdn#4007) * initial stripe re-integration implementation * simplify subscription * use kuma to configure yari's stripe subscription * add missing hook dep * add BUILD_ prefix and docs * Update docs/envvars.md Co-authored-by: Peter Bengtsson <peterbe@mozilla.com> Co-authored-by: Peter Bengtsson <peterbe@mozilla.com>
HTML ➡️ Markdown: Converter changes for Web/JavaScript (mdn#3843) * markdown transform&report improvements * turn html-code into md-inlineCode * more declarative html query syntax and cover more cases * add screenshot-diff testing for markdown conversion * handle switched code/anchor nesting * escalate unhandled child tags and turn parents into HTML * add notecard support * add callouts conversion * add pretty-printing * md list refinements * add definition lists and fix spacing for inline elements * omit summary class for summarizable pages * disallow blocks in tables * merge h2m commands into a single one with different modes and to-file reporting * pretty HTML in Markdown * add keep mode to h2m cli * turn <code><var> into inlineCode * fix definition list spacing issues * only convert notecards with colons in the title * only flip code - strong/a nesting for single child elements * fix table skipping behavior * fix line-break handling * use less strict toText when getting summary * fix definition list wrapping * stop prettifying HTML as it lead to broken MD it created new line-breaks which, while still yielding working HTML, breaks in Markdown * migrate h2m to TypeScript * discard node position when converting we are not using it anyway and it makes things harder to read * centralize assertions about different node type children * improve MDN conversion report * skip non-standard header tables * AST based prettier annotation removal * convert div element's children * allow ignoring markup inside code blocks * fix nested dl handling * fix dl definiton non-block wrapping * add querying for element attribute values * reinstate HTML-in-MD prettification with quickfix * ignore <var> in <code> and turn the rest into emphasis * strip prettier-ignore from source with AST positions This marks the 3rd change of how we strip those tags, and a pendulum swing in an opposite direction of the last one. The 1st version simply string replaced all the prettier-ignore tags, which could lead to invalid ASTs (imagine a prettier ignore as a first item in a listItem, which would turn into an invalidly-empty first item space). The 2nd (aka previous) version simply dropped the HTML AST nodes which represented the ignore, but we then used mdast's stringify to turn it back into source which would mess up some of prettier's work (Hamish found that there was too much spacing around list-items). Now we could not throw it back into prettier as the input lost its prettier-ignore tags, which would lead to it wrecking our code-blocks. Hence this 3rd version is a mix of the two! * make h2m cli folder-search non-fuzzy
build(deps-dev): bump black from 21.5b2 to 21.6b0 in /deployer (mdn#4019 ) Bumps [black](https://github.com/psf/black) from 21.5b2 to 21.6b0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext