From 4e0a262c657714489cc14df2bc296c4687caa1e9 Mon Sep 17 00:00:00 2001 From: Oleg Bask Date: Sat, 30 Mar 2024 17:14:31 -0700 Subject: [PATCH] Wire up GFM Tables extension --- .idea/inspectionProfiles/Project_Default.xml | 1 + gradle/libs.versions.toml | 1 + .../extension/gfm-tables/api/gfm-tables.api | 35 +++++++ .../extension/gfm-tables/build.gradle.kts | 23 +++++ .../tables/GitHubTableBlockRenderer.kt | 95 +++++++++++++++++++ .../tables/GitHubTableProcessorExtension.kt | 28 ++++++ .../tables/GitHubTableRendererExtension.kt | 14 +++ .../extensions/tables/TableStyling.kt | 13 +++ .../api/int-ui-standalone-styling.api | 7 ++ .../build.gradle.kts | 1 + .../alerts/GitHubTableDefaultStyling.kt | 20 ++++ samples/standalone/build.gradle.kts | 1 + .../standalone/view/markdown/JewelReadme.kt | 4 + .../view/markdown/MarkdownPreview.kt | 15 ++- settings.gradle.kts | 1 + 15 files changed, 256 insertions(+), 3 deletions(-) create mode 100644 markdown/extension/gfm-tables/api/gfm-tables.api create mode 100644 markdown/extension/gfm-tables/build.gradle.kts create mode 100644 markdown/extension/gfm-tables/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/tables/GitHubTableBlockRenderer.kt create mode 100644 markdown/extension/gfm-tables/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/tables/GitHubTableProcessorExtension.kt create mode 100644 markdown/extension/gfm-tables/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/tables/GitHubTableRendererExtension.kt create mode 100644 markdown/extension/gfm-tables/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/tables/TableStyling.kt create mode 100644 markdown/int-ui-standalone-styling/src/main/kotlin/org/jetbrains/jewel/intui/markdown/styling/extension/github/alerts/GitHubTableDefaultStyling.kt diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index fd1904ab31..7a9999f195 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -3,6 +3,7 @@