mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-20 00:34:50 +00:00
17 lines
335 B
JavaScript
17 lines
335 B
JavaScript
|
//--
|
||
|
//-- Deprecated Wikifier code
|
||
|
//--
|
||
|
|
||
|
//# Wikify a named tiddler to plain text
|
||
|
function wikifyPlain(title,theStore,limit)
|
||
|
{
|
||
|
if(!theStore)
|
||
|
theStore = store;
|
||
|
if(theStore.tiddlerExists(title) || theStore.isShadowTiddler(title)) {
|
||
|
return wikifyPlainText(theStore.getTiddlerText(title),limit,tiddler);
|
||
|
} else {
|
||
|
return "";
|
||
|
}
|
||
|
}
|
||
|
|