mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[markdown] IJPL-253366 The PlantUML Markdown Extension is too old
Merge-request: IJ-MR-219422 Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com> Merge-request: IJ-MR-219513 Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com> GitOrigin-RevId: da3ee2005ecdcefafe952eba06f073b4621e860a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f069fe35c5
commit
44723ef008
@@ -377,7 +377,7 @@
|
||||
defaultValue="600000"
|
||||
description="Interval in milliseconds defining how often Markdown plugin caches (e.g. PlantUML diagrams) should be cleared"/>
|
||||
<registryKey key="markdown.plantuml.download.link"
|
||||
defaultValue="https://download.jetbrains.com/grazie/markdown/extensions/plantuml/plantuml-1.2023.10-15.jar"
|
||||
defaultValue="https://github.com/plantuml/plantuml/releases/download/v1.2026.6/plantuml-1.2026.6.jar"
|
||||
description="Link which Markdown plugin will use to download PlantUML JAR"/>
|
||||
<registryKey key="markdown.open.link.in.external.browser"
|
||||
defaultValue="true"
|
||||
|
||||
+2
-2
@@ -24,7 +24,7 @@ class PlantUMLCodeGeneratingProvider: CodeFenceGeneratingProvider, MarkdownExten
|
||||
get() = ownFiles
|
||||
|
||||
override val filesToDownload: Iterable<FileEntry>
|
||||
get() = dowloadableFiles
|
||||
get() = downloadableFiles
|
||||
|
||||
override fun isApplicable(language: String): Boolean {
|
||||
return isEnabled && isAvailable && PlantUMLCodeFenceLanguageProvider.isPlantUmlInfoString(language.lowercase())
|
||||
@@ -91,6 +91,6 @@ class PlantUMLCodeGeneratingProvider: CodeFenceGeneratingProvider, MarkdownExten
|
||||
companion object {
|
||||
const val jarFilename = "plantuml.jar"
|
||||
private val ownFiles = listOf(jarFilename)
|
||||
private val dowloadableFiles = listOf(FileEntry(jarFilename) { Registry.stringValue("markdown.plantuml.download.link") })
|
||||
private val downloadableFiles = listOf(FileEntry(jarFilename) { Registry.stringValue("markdown.plantuml.download.link") })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user