mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[Markdown] Mark ImagePsiElementFactory with @ApiStatus.Internal
GitOrigin-RevId: 5e4971714adb9788d4bf40532d277aec46cd93b6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a9c0652d81
commit
7f34739d2b
@@ -3,8 +3,10 @@ package org.intellij.plugins.markdown.images.editor
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.psi.PsiElement
|
||||
import org.intellij.plugins.markdown.lang.psi.MarkdownPsiElementFactory
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
internal object ImagePsiElementFactory {
|
||||
@ApiStatus.Internal
|
||||
object ImagePsiElementFactory {
|
||||
fun createImage(project: Project, description: String?, path: String, title: String?): PsiElement {
|
||||
val text = ImageUtils.createMarkdownImageText(description.orEmpty(), path, title.orEmpty())
|
||||
return MarkdownPsiElementFactory.createFile(project, text).firstChild.firstChild
|
||||
|
||||
Reference in New Issue
Block a user