From ea51a857488f15b19036152c82118a116a4d94e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 10 Nov 2021 15:26:54 +0100 Subject: [PATCH] markdown: fix links containing `%` --- topics/appendix/resources/marketing.md | 2 +- topics/basics/faq.md | 8 ++++---- topics/intro/sdk_style.md | 1 + topics/reference_guide/messaging_infrastructure.md | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/topics/appendix/resources/marketing.md b/topics/appendix/resources/marketing.md index 079e94003..953edaf60 100644 --- a/topics/appendix/resources/marketing.md +++ b/topics/appendix/resources/marketing.md @@ -71,7 +71,7 @@ Below are listed a few related to the IntelliJ SDK and plugins development provi **IntelliJ Plugin Stars Rating** -![Rating](https://img.shields.io/badge/rating-%E2%98%85%E2%98%85%E2%98%85%E2%98%85%C2%BD-brightgreen) +![Rating](https://img.shields.io/badge/rating-%E2%98%85%E2%98%85%E2%98%85%E2%98%85%C2%BD-brightgreen){interpolate-variables="false"} ```markdown ![Rating](https://img.shields.io/jetbrains/plugin/r/stars/:pluginId) ``` diff --git a/topics/basics/faq.md b/topics/basics/faq.md index 50775eba8..b9bcf7e99 100644 --- a/topics/basics/faq.md +++ b/topics/basics/faq.md @@ -3,9 +3,9 @@ This FAQ is a topical index of questions that have been asked (and answered) on our [IntelliJ IDEA Open API and Plugin Development forum](https://intellij-support.jetbrains.com/hc/en-us/community/topics/200366979-IntelliJ-IDEA-Open-API-and-Plugin-Development). - + > See also [Explore the IntelliJ Platform API](explore_api.md) for more information and strategies. - > + > {type="tip"} ## Open-Source Plugins @@ -95,7 +95,7 @@ This FAQ is a topical index of questions that have been asked (and answered) on * [How do I get the cursor position in the current editor?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206794335-How-to-get-cursor-position-in-the-current-editor-) * [How do I clear the read-only status of a file?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206142039-Clear-read-only-status) * [How do I show a popup hint in an editor?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206146719-HintManager-API-question) -* [How do I create live template-like red box edit regions in an editor?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206800165-How-to-%C3%A7reate-live-template-like-red-box-edit-regions-in-an-editor) +* [How do I create live template-like red box edit regions in an editor?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206800165-How-to-%C3%A7reate-live-template-like-red-box-edit-regions-in-an-editor){interpolate-variables="false"} * [How can I show an editor with error highlighting in a tool window?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206146679-Error-highlighting-in-Editors) ## Inspections @@ -145,4 +145,4 @@ This FAQ is a topical index of questions that have been asked (and answered) on * [How do I open a project programmatically?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206146969-how-to-open-a-project-) * [How do I get the folder of the currently selected file?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206121889-How-to-get-the-folder-of-currenctly-selected-file) * [How do I encrypt some values in the configuration data of my plugin?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206147039-JDOMExternalizable-and-encrypting-) -* [How can I track exceptions from my plugin?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206762245-How-can-I-track-plugin-s-exceptions-/comments/206112345) \ No newline at end of file +* [How can I track exceptions from my plugin?](https://intellij-support.jetbrains.com/hc/en-us/community/posts/206762245-How-can-I-track-plugin-s-exceptions-/comments/206112345) diff --git a/topics/intro/sdk_style.md b/topics/intro/sdk_style.md index 76bfb8a3d..b3e2c1e91 100644 --- a/topics/intro/sdk_style.md +++ b/topics/intro/sdk_style.md @@ -65,6 +65,7 @@ For example, `## Introduction` gets the ID of `introduction`, and can be linked #### General Links General Markdown links have the default Markdown link style: * `[Gradle](https://gradle.org)`{disable-links} ([Gradle](https://gradle.org)) links to an external site, such as companies, articles, etc. + If URL contains `%` character, append `{interpolate-variables="false"}`. * Linking to pages within the SDK documentation: `[Page Title](page.md)`{disable-links} links to an SDK doc page (all located under /topics). Note that the extension is `.md`, _NOT_ `.html`. diff --git a/topics/reference_guide/messaging_infrastructure.md b/topics/reference_guide/messaging_infrastructure.md index 00c880269..3d767412a 100644 --- a/topics/reference_guide/messaging_infrastructure.md +++ b/topics/reference_guide/messaging_infrastructure.md @@ -9,7 +9,7 @@ It is intended to answer why, when and how to use it. ## Rationale -So, what is messaging in the IntelliJ Platform and why do we need it? Basically, its implementation of [Publisher Subscriber Pattern](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern) that provides additional features like _broadcasting on hierarchy_ and special _nested events_ processing (_nested event_ here is a situation when new event is fired (directly or indirectly) from the callback of another event). +So, what is messaging in the IntelliJ Platform and why do we need it? Basically, its implementation of [Publisher Subscriber Pattern](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern){interpolate-variables="false"} that provides additional features like _broadcasting on hierarchy_ and special _nested events_ processing (_nested event_ here is a situation when new event is fired (directly or indirectly) from the callback of another event). ## Design @@ -176,7 +176,7 @@ Let's see what happens if someone sends a message to the target topic: ### Relief Listeners Management -Messaging infrastructure is very light-weight, so, it's possible to reuse it at local sub-systems in order to relieve [Subscribers](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern) construction. +Messaging infrastructure is very light-weight, so, it's possible to reuse it at local sub-systems in order to relieve [Subscribers](https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern){interpolate-variables="false"} construction. Let's see what is necessary to do then: 1. Define business interface to work with;