====== Target Link Plugin ====== ---- plugin ---- description: Make links with specified targets not depending on the configuration. e.g.: The links usual open in the same tab, but this link opens in a new tab. author : HokkaidoPerson email : dosankomali@yahoo.co.jp type : Syntax lastupdate : 2019-03-13 compatible : Greebo, 2018-04-22 tags : links, target downloadurl: https://github.com/hokkaidoperson/DokuWiki-TargetLink-Plugin/archive/master.zip bugtracker : https://github.com/hokkaidoperson/DokuWiki-TargetLink-Pluginissues sourcerepo : https://github.com/hokkaidoperson/DokuWiki-TargetLink-Plugin ---- :!: [[ja:plugin:targetlink|このページを日本語でご覧頂けます。(This page is also available in Japanese.)]]\\ :!: I’m not a native English speaker, so this page may contain some mistakes in English sentences. ===== Summary ===== By using this plugin, you can specify targets to the links, not depending on the [[config:target|configuration of your wiki]]. ===== Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Examples/Usage ===== For example, if [[config:target|the conf target>>wiki]] is null: [[page1|This link]] opens in the same tab, but [[+tab|page2|this one]] opens in the new tab, and so does [[target=_blank|page2|this one]]. If the conf target>>extern is "_blank": [[https://www.dokuwiki.org/|This link]] opens in the new tab, but [[target=_self|https://github.com/|this one]] opens in the same tab. Currently this plugin works with internal, external, interwiki, and windows share links. See the plugin in action [[https://jdwiki.hkdyukkuri.space/wiki/syntax#%E6%96%B0%E3%81%97%E3%81%84%E3%82%BF%E3%83%96%E3%81%A7%E9%96%8B%E3%81%8F|here]] (sorry but this page is available only in Japanese). ===== Syntax ===== [[+tab|pagename]] (opens in the new tab) [[+tab|pagename|linkname]] (opens in the new tab) [[target=targetname|pagename]] (opens in the specified target) [[target=targetname|pagename|linkname]] (opens in the specified target) ===== Development ===== === Change Log === * **2018-07-02** * Initial release (but I published this page in July 17, because I was lazy) * **2018-08-08** * Updated (defined the function when the rendering mode is metadata) * **2019-03-13** * Bug fix === Known Bugs and Issues === (Currently none) === ToDo and Wishlist === I'll do my best if you think this leaves something to be desired ===== Contact Me ===== If you find some problems in this plugin, you can make issue topics on the [[https://github.com/hokkaidoperson/DokuWiki-TargetLink-Plugin|GitHub page]], or if you wanna contact me for other things, you can contact me by: * * [[https://twitter.com/YukkuriDosanko|My Twitter]] (Japanese account but English acceptable) ===== Discussion =====