Serializing tiddlers in STON.
This commit is contained in:
parent
6803915e06
commit
d76aacfc81
@ -14,6 +14,13 @@ Class {
|
|||||||
#category : 'TiddlyWiki-Model'
|
#category : 'TiddlyWiki-Model'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ #category : 'accessing' }
|
||||||
|
TiddlyWiki >> exportSTONTiddlersFile [
|
||||||
|
| stonFile |
|
||||||
|
stonFile := self tiddlersJSONFile withoutExtension, 'ston'.
|
||||||
|
^ MarkupFile exportAsFileOn: stonFile containing:(STON toStringPretty: self)
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : 'accessing' }
|
{ #category : 'accessing' }
|
||||||
TiddlyWiki >> file [
|
TiddlyWiki >> file [
|
||||||
^ file
|
^ file
|
||||||
|
Loading…
Reference in New Issue
Block a user