From 0347aaaf9999399a0bf1994658b1c1e7f958b637 Mon Sep 17 00:00:00 2001 From: Sebastiano Poggi Date: Thu, 15 Feb 2024 11:58:26 +0100 Subject: [PATCH] Sort out markdown setup (hopefully for real) Restore some lost run configs and cleanup readme, too. --- .idea/runConfigurations/IDE_sample.xml | 24 +++++++++++++++++++ .idea/runConfigurations/Run_checks.xml | 24 +++++++++++++++++++ README.md | 4 ++-- markdown/core/build.gradle.kts | 4 ++-- .../extension-gfm-alerts/build.gradle.kts | 2 ++ 5 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 .idea/runConfigurations/IDE_sample.xml create mode 100644 .idea/runConfigurations/Run_checks.xml diff --git a/.idea/runConfigurations/IDE_sample.xml b/.idea/runConfigurations/IDE_sample.xml new file mode 100644 index 000000000..ac2024999 --- /dev/null +++ b/.idea/runConfigurations/IDE_sample.xml @@ -0,0 +1,24 @@ + + + + + + + true + true + false + false + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Run_checks.xml b/.idea/runConfigurations/Run_checks.xml new file mode 100644 index 000000000..f3ae0f42b --- /dev/null +++ b/.idea/runConfigurations/Run_checks.xml @@ -0,0 +1,24 @@ + + + + + + + true + true + false + false + + + \ No newline at end of file diff --git a/README.md b/README.md index 5de89917d..551a67aa9 100644 --- a/README.md +++ b/README.md @@ -308,10 +308,10 @@ API: ```kotlin val myAwtFamily = myFont.asComposeFontFamily() -// This will attempt to resolve the logical AWT font +// This will attempt to resolve the logical AWT font val myLogicalFamily = Font("Dialog").asComposeFontFamily() -// This only works in the IntelliJ Platform, +// This only works in the IntelliJ Platform, // since JBFont is only available there val myLabelFamily = JBFont.label().asComposeFontFamily() ``` diff --git a/markdown/core/build.gradle.kts b/markdown/core/build.gradle.kts index 88a56b0fe..8b5c61f1c 100644 --- a/markdown/core/build.gradle.kts +++ b/markdown/core/build.gradle.kts @@ -7,10 +7,10 @@ plugins { dependencies { compileOnly(projects.ui) - - implementation(libs.commonmark.core) + api(libs.commonmark.core) testImplementation(compose.desktop.uiTestJUnit4) + testImplementation(projects.ui) } publicApiValidation { diff --git a/markdown/extension-gfm-alerts/build.gradle.kts b/markdown/extension-gfm-alerts/build.gradle.kts index def637ace..1bc2ba0d7 100644 --- a/markdown/extension-gfm-alerts/build.gradle.kts +++ b/markdown/extension-gfm-alerts/build.gradle.kts @@ -12,6 +12,8 @@ dependencies { compileOnly(libs.commonmark.core) testImplementation(compose.desktop.uiTestJUnit4) + testImplementation(projects.markdown.core) + testImplementation(projects.ui) } publicApiValidation {