mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-04 12:47:00 +00:00
First step of turning the rabbit hole inside out
This commit is contained in:
16
archive/test/tiddlywiki.2.6.5/source/tiddlywiki/deprecated/Wikifier.js
Executable file
16
archive/test/tiddlywiki.2.6.5/source/tiddlywiki/deprecated/Wikifier.js
Executable file
@@ -0,0 +1,16 @@
|
||||
//--
|
||||
//-- 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 "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user