mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-01 22:12:46 +00:00
![Jeremy Ruston](/assets/img/avatar_default.png)
There are still some whitespace and attribute ordering issues, but the result runs correctly.
17 lines
335 B
JavaScript
Executable File
17 lines
335 B
JavaScript
Executable File
//--
|
|
//-- 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 "";
|
|
}
|
|
}
|
|
|