Repository navigation
DEV: Update the Discourse commit of the markdown-it setup - #157
Merged
Merged
Conversation
The weekly sync check reported three changed files. None of them needs a change in cook.mjs or build.mjs: - lib/pretty_text/core_bundle.rb: the pretty-text modules are TypeScript now. Only the cache glob changed, the bundle is built by Discourse's own build.mjs, which handles them. - pretty-text-ruby-interface.js: a faster emoji replacer. Emoji are off in cook.mjs. - details.js: a new `[details ai]` option with a badge. Markbridge does not write it. The new `discourse-i18n` import resolves in the engine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The weekly sync check failed two times in a row (#154), so I moved
discourse.jsonto the current Discourse main. Three files changed there, and none of them needs a change on our side:lib/pretty_text/core_bundle.rb: Discourse converted the pretty-text modules to TypeScript (DEV: Convert the pretty-text modules to TypeScript discourse#45986). In this file only the cache glob changed. We build the bundle with Discourse's ownbuild.mjs, and that handles the.tsfiles.pretty-text-ruby-interface.js: a faster emoji replacer (FIX: improves performance of emoji replacer discourse#46060). Emoji are off incook.mjs.details.js: a new[details ai]option with an "AI generated" badge (FEATURE: AI content indicators for details, code, and quotes discourse#46264, UX: Restyle the AI content badge and share it with details discourse#46540). Markbridge doesn't write it. The plugin now importsdiscourse-i18n, I checked that it still loads in the engine and cooks[details]like before.The markdown-it and linkify-it versions stay the same. I rebuilt the engine at the new commit and ran the full suite with it.
Closes #154