Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
format-mdx: Add remark-gfm.
Anders Kaseorg1178048a084d
diff --git a/eslint.config.js b/eslint.config.jsindex 5113ff9dd0f..2dc11a012ed 100644--- a/eslint.config.js+++ b/eslint.config.js@@ -209,7 +209,6 @@ export default tseslint.config("comma-spacing": "error","import/extensions": "off","import/unambiguous": "off",- "object-curly-spacing": "error",quotes: "error",},},diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e70c6acf7ab..f58797b5982 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -576,6 +576,9 @@ importers:remark-frontmatter:specifier: ^5.0.0version: 5.0.0+ remark-gfm:+ specifier: ^4.0.1+ version: 4.0.1remark-lint-fenced-code-flag:specifier: ^4.2.0version: 4.2.0diff --git a/starlight_help/package.json b/starlight_help/package.jsonindex 9a8c1ec28c5..e67106d9684 100644--- a/starlight_help/package.json+++ b/starlight_help/package.json@@ -8,8 +8,8 @@"build": "astro check && astro build","preview": "astro preview","astro": "astro",- "format": "remark --ext mdx --frail --output --quiet --use remark-mdx -- .",- "format-silent": "remark --ext mdx --output --silent --use remark-mdx -- ."+ "format": "remark --ext mdx --frail --output --quiet -- .",+ "format-silent": "remark --ext mdx --output --silent -- ."},"dependencies": {"@astrojs/check": "^0.9.3",@@ -26,12 +26,12 @@"sharp": "^0.34.1","typescript": "^5.4.5","unist-util-visit": "^5.0.0",- "unplugin-icons": "^22.1.0",- "@types/mdast": "^4.0.4"+ "unplugin-icons": "^22.1.0"},"devDependencies": {"remark-cli": "^12.0.1","remark-frontmatter": "^5.0.0",+ "remark-gfm": "^4.0.1","remark-lint-fenced-code-flag": "^4.2.0","remark-lint-file-extension": "^3.0.1","remark-lint-final-definition": "^4.0.2",diff --git a/starlight_help/src/.remarkrc.js b/starlight_help/src/.remarkrc.jsindex 997808c6e7e..3936726e518 100644--- a/starlight_help/src/.remarkrc.js+++ b/starlight_help/src/.remarkrc.js@@ -10,6 +10,7 @@*/import remarkFrontmatter from "remark-frontmatter";+import remarkGfm from "remark-gfm";import remarkLintFencedCodeFlag from "remark-lint-fenced-code-flag";import remarkLintFileExtension from "remark-lint-file-extension";import remarkLintFinalDefinition from "remark-lint-final-definition";@@ -24,6 +25,7 @@ import remarkLintNoFileNameIrregularCharacters from "remark-lint-no-file-name-irimport remarkLintNoFileNameMixedCase from "remark-lint-no-file-name-mixed-case";import remarkLintNoUnusedDefinitions from "remark-lint-no-unused-definitions";import remarkLintUnorderedListMarkerStyle from "remark-lint-unordered-list-marker-style";+import remarkMdx from "remark-mdx";import remarkPresentLintMarkdownStyleGuide from "remark-preset-lint-markdown-style-guide";import remarkLintRulesLintRecommended from "remark-preset-lint-recommended";import remarkStringify from "remark-stringify";@@ -52,6 +54,8 @@ const remarkLintRules = {/** @type {Preset} */const config = {plugins: [+ remarkGfm,+ remarkMdx,[remarkFrontmatter, ["yaml"]],remarkLintRules,// The format step was converting our ordered list items to havediff --git a/starlight_help/src/content/docs/guest-users.mdx b/starlight_help/src/content/docs/guest-users.mdxindex 7ba73efcc39..edbe1cf9e41 100644--- a/starlight_help/src/content/docs/guest-users.mdx+++ b/starlight_help/src/content/docs/guest-users.mdx@@ -110,7 +110,7 @@ is which user IDs exist, andSelf-hosted organizations can disable API access to availability updatesby [configuring](https://zulip.readthedocs.io/en/stable/production/settings.html)`CAN_ACCESS_ALL_USERS_GROUP_LIMITS_PRESENCE = True`. For performance reasons,- this is recommended only for organizations with up to ~100 users.+ this is recommended only for organizations with up to \~100 users.</ZulipTip><Tabs>diff --git a/starlight_help/src/content/docs/import-from-mattermost.mdx b/starlight_help/src/content/docs/import-from-mattermost.mdxindex f5496620323..b3b3ae7c1a6 100644--- a/starlight_help/src/content/docs/import-from-mattermost.mdx+++ b/starlight_help/src/content/docs/import-from-mattermost.mdx@@ -255,10 +255,10 @@ keep in mind about the import process:and [how users can join your organization](/help/restrict-account-creation).* Mattermost's user roles are mapped to Zulip's [userroles](/help/user-roles) in the following way:- | Mattermost role | Zulip role |- |-------------------------|---------------|- | Team administrator | Owner |- | Member | Member |+ | Mattermost role | Zulip role |+ | ------------------ | ---------- |+ | Team administrator | Owner |+ | Member | Member |* Mattermost's export tool does not support exporting user avatars or messageedit history.* Direct messages will only be imported from Mattermost workspaces containingdiff --git a/starlight_help/src/content/docs/import-from-rocketchat.mdx b/starlight_help/src/content/docs/import-from-rocketchat.mdxindex 531c18ce3d1..24dd1ae43fd 100644--- a/starlight_help/src/content/docs/import-from-rocketchat.mdx+++ b/starlight_help/src/content/docs/import-from-rocketchat.mdx@@ -120,7 +120,7 @@ keep in mind about the import process:* Rocket.Chat user roles are mapped to Zulip's [userroles](/help/user-roles) in the following way:| Rocket.Chat role | Zulip role |- |------------------|------------|+ | ---------------- | ---------- || Admin | Owner || User | Member || Guest | Guest |diff --git a/starlight_help/src/content/docs/import-from-slack.mdx b/starlight_help/src/content/docs/import-from-slack.mdxindex ff580f20c79..068ea1ae8c9 100644--- a/starlight_help/src/content/docs/import-from-slack.mdx+++ b/starlight_help/src/content/docs/import-from-slack.mdx@@ -158,7 +158,7 @@ in mind about the import process:* Slack's user roles are mapped to Zulip's [userroles](/help/user-roles) in the following way:| Slack role | Zulip role |- |-------------------------|---------------|+ | ----------------------- | ------------- || Workspace Primary Owner | Owner || Workspace Owner | Owner || Workspace Admin | Administrator |diff --git a/starlight_help/src/content/docs/saml-authentication.mdx b/starlight_help/src/content/docs/saml-authentication.mdxindex 562301f0830..b0b9cce580d 100644--- a/starlight_help/src/content/docs/saml-authentication.mdx+++ b/starlight_help/src/content/docs/saml-authentication.mdx@@ -80,12 +80,12 @@ providers.* **ACS URL Validator**: `https://auth.zulipchat.com/complete/saml/`1. In the **Parameters** section, add the following custom parameters. Set the**Include in SAML assertion** flag on each parameter.- | Field name | Value- |--- |---- | email | Email- | first\_name | First Name- | last\_name | Last Name- | username | Email+ | Field name | Value |+ | ----------- | ---------- |+ | email | Email |+ | first\_name | First Name |+ | last\_name | Last Name |+ | username | Email |1. <SendUsInfo />* Your organization's URL* The **issuer URL** from the **SSO** section. It contains required **Identity Provider** metadata.diff --git a/version.py b/version.pyindex e0291510e94..5cda0c6b22b 100644--- a/version.py+++ b/version.py@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 425# historical commits sharing the same major version, in which case a# minor version bump suffices.-PROVISION_VERSION = (343, 1) # bumped 2025-09-03 to add eslint-plugin-mdx+PROVISION_VERSION = (344, 0) # bumped 2025-09-04 to add remark-gfm