#author("2022-04-09T19:51:15+09:00","default:umorigu","umorigu")
#author("2022-04-09T19:51:39+09:00","default:umorigu","umorigu")
** dotted_line.inc.php [#acaaf4b5]
|RIGHT:125|LEFT:360|c
|~サマリ|下点線プラグイン|
|~リビジョン|1.0|
|~対応バージョン|1.5.x|
|~投稿者|[[umorigu]]|
|~投稿日|&new{2022-04-09 (土) 19:42:27};|
文字の下線を点線(dotted)にするプラグインです。


plugin/dotted_line.inc.php

 <?php
 // Copyright 2022 umorigu; License: GPLv2
 function plugin_dotted_line_inline()
 {
     $args = func_get_args();
     $text = array_pop($args); // Already htmlsc(text);
     return '<span style="text-decoration: underline dotted;">' . $text . '</span>';
 }

** 使い方 [#ydd822c8]

 &dotted_line{文字列};

** ライセンス [#i1d81cb6]

- GPLv2

**参照 [#o2cf4d53]

- [[質問箱/5449]] 文字列に点線

----

#comment

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Site admin: PukiWiki Development Team

PukiWiki 1.5.4+ © 2001-2022 PukiWiki Development Team. Powered by PHP 5.6.40-0+deb8u12. HTML convert time: 1.122 sec.

OSDN