This includes a bunch of changes to the Markdown inline APIs to better align with CommonMark and our actual needs; a clean-up of the previous half-hearted attempt at supporting custom inline nodes (it did not and could never have worked in the way it was implemented), and some misc tweaks and cleanup.
closes https://github.com/JetBrains/intellij-community/pull/2915
(cherry picked from commit 70ef3e792dc4f64fd4d2afc6aa02f8c190203443)
(cherry picked from commit 606d5a2004d373e961229af09b367f0ccf2ceae4)
IJ-MR-155570
GitOrigin-RevId: 793138291f4f0c131949c08d0bfa037f843335d3
The name was changed in 242 to reflect the fact that everything else is
named in en-US, and for consistency with the Int UI specs. This change
aligns us to that, leaving a deprecated grey accessor in
ThemeColorPalette for backwards compat. The lookup function also accepts
both spellings for the time being.
This also bumps the theme generator to target IJP 242.
Note that some of these changes will not be ported to earlier releases —
only the ThemeColorPalette property name changes and lookup behaviour —
since in 233 and 241 the keys are still named in en-GB in the theme json
GitOrigin-RevId: 4b7fd824383276f4b1bcb6f634817827f6a8e1ac
* add a markdown string to README
* add a disclaimer comment to MarkdownPreview.kt
* refresh Markdown README
* fix a typo in README.md
* address PR comments
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
---------
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
GitOrigin-RevId: d90c92771574610b7a4d5d1e9f34731b767a3756
* Split out theming from Core (except for jewel.ui deps)
* Implement both bridge and standalone Int UI themes
* Reorganize modules to make adding extensions easier
* Add Markdown rendering to IDE plugin sample
> [!NOTE]
> The leaf modules are named `*Styling` because Gradle doesn't allow you
> to have modules with the same name and that depend on each other. It
> says it's a circular dependency, even if it's not (the modules have
> different paths). Since the Standalone Markdown module depends on the
> Int UI Standalone, and the Bridge Markdown depends on the Bridge
> theme, this would break the build. We are, however, going to try and
> figure this out so that we can remove the suffix.
GitOrigin-RevId: b09149173a5adfd2215ca9d49db7df0af705d845