From 9e9da5d781f014b136adbddf0412639d72613b32 Mon Sep 17 00:00:00 2001 From: Tim Pillinger Date: Thu, 29 May 2025 15:11:09 +0100 Subject: [PATCH] add myst --- package.json | 6 +- renovate.json | 11 + src/components/Markdown.vue | 16 +- src/components/cylc/Info.vue | 13 +- src/services/mock/json/infoView.json | 11 +- src/styles/cylc/_markdown.scss | 198 +++- tests/component/specs/info.cy.js | 39 + yarn.lock | 1342 +++++++++++++++++++++++++- 8 files changed, 1593 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index baa32a790..c41ff69bb 100644 --- a/package.json +++ b/package.json @@ -38,13 +38,17 @@ "graphql": "16.11.0", "graphql-tag": "2.12.6", "lodash-es": "4.17.21", - "markdown-it": "14.1.0", "mitt": "3.0.1", + "myst-parser": "1.5.12", + "myst-theme": "0.0.0", + "myst-to-html": "1.5.12", "nprogress": "1.0.0-1", "preact": "10.26.5", + "rehype-stringify": "^10.0.1", "simple-icons": "2.19.0", "subscriptions-transport-ws": "0.11.0", "svg-pan-zoom": "3.6.2", + "unified": "11.0.5", "vue": "3.5.16", "vue-i18n": "11.1.3", "vue-router": "4.5.1", diff --git a/renovate.json b/renovate.json index 7b2373745..9529092ce 100644 --- a/renovate.json +++ b/renovate.json @@ -145,6 +145,17 @@ "addLabels": [ "data workflows team" ] + }, + { + "groupName": "MyST packages", + "matchPackageNames": [ + "myst-*", + "rehype-stringify", + "unified" + ], + "schedule": [ + "on the 23rd day of the month" + ] } ], "vulnerabilityAlerts": { diff --git a/src/components/Markdown.vue b/src/components/Markdown.vue index 87799da48..735d18f7c 100644 --- a/src/components/Markdown.vue +++ b/src/components/Markdown.vue @@ -24,9 +24,17 @@