Both sides previous revision
前次修改
下次修改
|
前次修改
|
dokuwiki:include [2016/06/09 15:58] ghsrobert ToDo checked: 測試 pagebox |
dokuwiki:include [2016/08/05 10:38] (目前版本) ghsrobert [建議] |
====== 引入其他頁面 ====== | ====== 引入其他頁面 ====== |
| |
| ===== plugin ===== |
| |
* [[doku>plugin:include]]{{url>https://www.dokuwiki.org/plugin:include}} | * [[doku>plugin:include]]{{url>https://www.dokuwiki.org/plugin:include}} |
* include 若不能 fold,有何替代方案? | * include 若不能 fold,有何替代方案? |
* ++pagebox|[[doku>plugin:pagebox|連結]]{{url>https://www.dokuwiki.org/plugin:pagebox}}++ FIXME | * ++pagebox|[[doku>plugin:pagebox|連結]]{{url>https://www.dokuwiki.org/plugin:pagebox}}++ FIXME |
* 這個可以引入段落嗎? | * 這個可以引入段落嗎? |
* <todo #ghsrobert:2016-06-09>測試 pagebox</todo> | * <todo>測試 pagebox</todo> |
* ++tabinclude|[[doku>plugin:tabinclude|連結]]{{url>https://www.dokuwiki.org/plugin:tabinclude}}++ | * ++tabinclude|[[doku>plugin:tabinclude|連結]]{{url>https://www.dokuwiki.org/plugin:tabinclude}}++ |
* 希望這個不是直接調用 include 的函式啊…… | * 希望這個不是直接調用 include 的函式啊…… |
* 測試:++wrap|{{tabinclude>.:syntax:wrap}}++可以 fold! | * 測試:++wrap|{{tabinclude>.:syntax:wrap}}++可以 fold! |
* 無法引入段落,嗚嗚嗚 :'( :{{tabinclude>wiki:syntax?&#sectioning}} | * 無法引入段落,嗚嗚嗚 :'( :{{tabinclude>wiki:syntax?&#sectioning}} |
| * ↑建議修改:++Would be nice to include only sections · Issue #51 · iobataya/dokuwiki-plugin-tabinclude|[[https://github.com/iobataya/dokuwiki-plugin-tabinclude/issues/51|(原文連結)]] |
| {{url>https://github.com/iobataya/dokuwiki-plugin-tabinclude/issues/51}}++ |
| |
| ===== 樣式 ===== |
| * include 提供 ''.plugin_include_content'' 的 CSS class |
| * 甚至還提供 ''.plugin_include%%__%%//<完整 pagename>//'' 的 class,可以自訂個別 page 引用進來時的 style! |
===== 問題 ===== | ===== 問題 ===== |
* /-設定居然是 global 的,無法在每個 include 的地方另行設定?-/ 喔,可以啦,''[flag]'' 就是用來做這事的。所以看來 ''設定管理器'' 中要設定成比較泛用的,再個別設定 | * /-設定居然是 global 的,無法在每個 include 的地方另行設定?-/ 喔,可以啦,''[flag]'' 就是用來做這事的。所以看來 ''設定管理器'' 中要設定成比較泛用的,再個別設定 |
* 看來 blog 是吃 include 的 flag(但 blog plugin 的 archive macro 是吃 pagelist 的 flag 唷) | * 看來 blog 是吃 include 的 flag(但 blog plugin 的 archive macro 是吃 pagelist 的 flag 唷) |
* tag 則是吃 pagelist 的 flag | * tag 則是吃 pagelist 的 flag |
* 引用進來的內容居然無法[[.:syntax:slider|摺疊/收藏]]?這問題大了…… | * <wrap tip>【已解決】</wrap>/-引用進來的內容居然無法[[.:syntax:slider|摺疊/收藏]]?這問題大了……-/ |
* 有這個 ++Issue with folded plugin · Issue #52 · dokufreaks/plugin-include|[[https://github.com/dokufreaks/plugin-include/issues/52|(原文連結)]] | * 有這個 ++Issue with folded plugin · Issue #52 · dokufreaks/plugin-include|[[https://github.com/dokufreaks/plugin-include/issues/52|(原文連結)]] |
{{url>https://github.com/dokufreaks/plugin-include/issues/52}}++ | {{url>https://github.com/dokufreaks/plugin-include/issues/52}}++ |
| * ↑其實裡面有提到有個 ''inline'' flag 可以用!經[[playground:include|測試]],問題解決了!感謝 神!<<大哭>> |
| * 看,[[playground:include|測試頁]]是可以 ++folded+include 進來的:|{{page>playground:include&header&inline&footer}}++만세! |
| |
| ===== 建議 ===== |
| * /^20160805^/ 既然準備開始用 farm,要是 farm animal 間可以引用 page 就好了……→ [[https://github.com/dokufreaks/plugin-include/issues/199|Include pages/namespace from other farm animals · Issue #199 · dokufreaks/plugin-include]] |
| * 但感覺不會有回應 XD |
| |
{{tag>todo}} | {{tag>已解決}} |